Lingua::FreeLing3::Dictionary - Interface to FreeLing3 Dictionary
use Lingua::FreeLing3::Dictionary;
Interface to the FreeLing3 Dictionary files.
new
Object constructor. One argument is required: the languge code (Lingua::FreeLing3 will search for the dictionary data file). In this case, default options will be used.
Lingua::FreeLing3
To supply further options, use:
my $dic = Lingua::FreeLing3::Dictionary->new( lang => 'ES', analyzeAffixation => 1, # defaults to 0 inverseAccess => 1, # defaults to 0 retokContractions => 1, # defaults to 0 );
Returns the dictionary object for that language, or undef in case of failure.
get_forms
Returns a list of possible derivative forms from a specific word, and a Part-Of-Speech tag.
$forms = $dict->get_forms('carro', 'NCMP000');
Lingua::FreeLing3(3) for the documentation table of contents. The freeling library for extra information, or perl(1) itself.
Alberto Manuel Brandão Simões, <ambs@cpan.org>
Jorge Cunha Mendes <jorgecunhamendes@gmail.com>
Copyright (C) 2011 by Projecto Natura
To install Lingua::FreeLing3, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::FreeLing3
CPAN shell
perl -MCPAN -e shell install Lingua::FreeLing3
For more information on module installation, please visit the detailed CPAN module installation guide.