Author image Thierry Hamon
and 1 contributors

NAME

Lingua::YaTeA::MonolexicalTermCandidate - Perl extension for the monolexical term candidate

SYNOPSIS

  use Lingua::YaTeA::MonolexicalTermCandidate;
  Lingua::YaTeA::MonolexicalTermCandidate->new();

DESCRIPTION

The module implements the monolexical (r single word) term candadiate. It inheris of the module Lingua::YaTeA::TermCandidate.

METHODS

new()

    new();

the methods creates a new monolexical term candidate.

searchHead()

    searchHead();

The method returns the head component of the term candidate. As it is single word term candidate, the head component is the current node.

setOccurrences()

    setOccurrences($phrase_occurrences_a,$offset,$word_length,$maximal);

The method associates a list of new occurrence, referred by $phrase_occurrences_a to the current term candidate. $offset is the offset of all the occurrences of the list in the document. $word_length is the length of the word string. $maximal indicates if the occurrence is a maximal noun phrase.

getPOS()

    getPOS();

The method returns the Part-Of-Speech tag of the word associated to the term candidate.

getIF()

    getIF();

The method returns the inflected form of the word associated to the term candidate.

addMonolexicalOccurrences()

    addMonolexicalOccurrences($phrase_set,$monolexical_transfer_h);

The method adds a list new occurrences $phrase_set to the list of occurrences of the current term candidate.

$monolexical_transfer_h is a reference to a hashtable containing the phrases that can not be parsed (monolexical phrase are considered as unparsable).

getHeadAndLinks()

    getHeadAndLinks($LGPmapping_h);

The method returns the head of the current term candidate (the term candidate itself) and a reference to an empty array containing the syntactic relations.

SEE ALSO

Sophie Aubin and Thierry Hamon. Improving Term Extraction with Terminological Resources. In Advances in Natural Language Processing (5th International Conference on NLP, FinTAL 2006). pages 380-387. Tapio Salakoski, Filip Ginter, Sampo Pyysalo, Tapio Pahikkala (Eds). August 2006. LNAI 4139.

AUTHOR

Thierry Hamon <thierry.hamon@univ-paris13.fr> and Sophie Aubin <sophie.aubin@lipn.univ-paris13.fr>

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Thierry Hamon and Sophie Aubin

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.