NAME

Lingua::FreeLing2::ParseTree - Interface to FreeLing2 ParseTree object

SYNOPSIS

use Lingua::FreeLing2::ParseTree;

$ptree = $sentence->parse_tree;

$node_info = $ptree->info;

DESCRIPTION

ACCESSORS

info

Returns all available information for the node data as a hash reference.

child

Returns the nth child.

num_children

Returns the number of childs for this tree node.

METHODS

dump

Dumps the tree in a textual format, useful for debug purposes.

SEE ALSO

Lingua::FreeLing2(3) for the documentation table of contents. The freeling library for extra information, or perl(1) itself.

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