Lingua::FreeLing3::ChartParser - Interface to FreeLing3 ChartParser
use Lingua::FreeLing3::ChartParser; my $pt_cparser = Lingua::FreeLing3::ChartParser->new("pt"); $taggedListOfSentences = $pt_cparser->analyze($listOfSentences);
Interface to the FreeLing3 chart parser library.
new
Object constructor. One argument is required: the languge code (Lingua::FreeLing3 will search for the tagger data file).
Lingua::FreeLing3
parse
Alias to analyze.
analyze
Receives a list of sentences, and returns that same list of sentences after tagging process, enriching each sentence with a parse tree.
start_symbol
Returns the start symbol for the chart parser.
Lingua::FreeLing3 (3), freeling, perl(1)
Alberto Manuel Brandão Simões, <ambs@cpan.org>
Jorge Cunha Mendes <jorgecunhamendes@gmail.com>
Copyright (C) 2011-2012 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.