NAME

Lingua::FreeLing3::Dictionary - Interface to FreeLing3 Dictionary

SYNOPSIS

use Lingua::FreeLing3::Dictionary;

DESCRIPTION

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.

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');

SEE ALSO

Lingua::FreeLing3(3) for the documentation table of contents. The freeling library for extra information, or perl(1) itself.

AUTHOR

Alberto Manuel Brandão Simões, <ambs@cpan.org>

Jorge Cunha Mendes <jorgecunhamendes@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2011 by Projecto Natura