Alberto Manuel Brandão Simões > Lingua-FreeLing3 > Lingua::FreeLing3::ChartParser

Download:
Lingua/Lingua-FreeLing3-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Lingua::FreeLing3::ChartParser - Interface to FreeLing3 ChartParser

SYNOPSIS ^

   use Lingua::FreeLing3::ChartParser;

   my $pt_cparser = Lingua::FreeLing3::ChartParser->new("pt");

   $taggedListOfSentences = $pt_cparser->analyze($listOfSentences);

DESCRIPTION ^

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).

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.

SEE ALSO ^

Lingua::FreeLing3 (3), freeling, perl(1)

AUTHOR ^

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

Jorge Cunha Mendes <jorgecunhamendes@gmail.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2011-2012 by Projecto Natura

syntax highlighting: