Lingua::FreeLing3::DepTxala - Interface to FreeLing3 DetTxala
use Lingua::FreeLing3::DepTxala; my $pt_parser = Lingua::FreeLing3::DepTxala->new("pt"); $taggedListOfSentences = $pt_parser->analyze($listOfSentences);
Interface to the FreeLing3 txala parser library.
new
Object constructor. One argument is required: the languge code (Lingua::FreeLing3 will search for the parser and the txala data files).
Lingua::FreeLing3
ChartParser
Specify a reference to a Lingua::FreeLing3::ChartParser where the grammar start symbol should be obtained.
StartSymbol
If you do not have the ChartParser but know what is the grammar start symbol, pass it with this option.
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.
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.