The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Lingua::FreeLing3::DepTxala - Interface to FreeLing3 DetTxala

SYNOPSIS

   use Lingua::FreeLing3::DepTxala;

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

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

DESCRIPTION

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

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.

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