NAME

Lingua::FreeLing2::DepTxala - Interface to FreeLing2 DetTxala

SYNOPSIS

use Lingua::FreeLing2::DepTxala;

my $pt_parser = Lingua::FreeLing2::DepTxala->new("pt");

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

DESCRIPTION

Interface to the FreeLing2 txala parser library.

new

Object constructor. One argument is required: the languge code (Lingua::FreeLing2 will search for the parser and the txala data files) or the full or relative path to the dependencies file together with the full or relative path to the chart parser data file.

analyze

Receives a list of sentences, and returns that same list of sentences after tagging process, enriching each sentence with a parse tree.

SEE ALSO

Lingua::FreeLing2 (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 by Projecto Natura