- SEE ALSO
- COPYRIGHT AND LICENSE
Lingua::YaTeA::LexiconItem - Perl extension for representing word
use Lingua::YaTeA::LexiconItem; Lingua::YaTeA::LexiconItem->($form);
The module implements the representation of the word occuring in the lexicon of corpus. The word is described with its inflected form (field
$IF), its Part-of-Speech tag (field
POS), it lemmatised form (field
LF), the size in characters (field
LENGTH), its frequency in the corpus (field
The method creates a new lexicon item from the form
$form(the concatenation of the inflected form, the Part-of-Speech tag, and the lemmatised form).
The method set the field
LF (lemmatised form). If the
$LF is equal to
@card@ (some default lemma from TreeTagger), the inflected form is considered as the lemmatised form.
The method computes the size in characters of the inflected form.
The method increments the frequency of the lexicon item.
The method returns the identifier of the lexicon item.
The method returns the inflected form of the lexicon item.
The method returns the Part-of-Speech of the lexicon item.
The method returns the lemmatised form of the lexicon item.
The method returns the size, in characters, of the inflected form of the lexicon item.
The method returns the frequency of the lexicon item.
The method returns the value of the field
The method indicates if the lexicon item apprears in one of the cleaning frontier
The method indicates if the lexicon item apprears in one of the cleaning exception
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.
Thierry Hamon <email@example.com> and Sophie Aubin <firstname.lastname@example.org>
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.