NAME

Lingua::YaTeA::InternalNode - Perl extension for internal nodes

SYNOPSIS

use Lingua::YaTeA::InternalNode;
Lingua::YaTeA::InternalNode->new($level);

DESCRIPTION

The module implements internal syntactic node. It inherits of the module Lingua::YaTeA::Node and Lingua::YaTeA::Edge. The field FATHER records the father node.

METHODS

new()

new($level);

The method creates a new internal node and sets the level $level inherited of the module Lingua::YaTeA::Node.

setFather()

setFather($father);

The method sets the father $father of the node.

getFather()

getFather();

The method returns the father of the node.

updateLevel()

updateLevel($new_level);

The method updates the level of the node to the value $new_level.

searchRoot()

searchRoot();

The method returns the root of the tree which contains the current node.

printFather()

printFather();

The method prints the father node of the current internal node, a Lingua::YaTeA::RootNode object.

SEE ALSO

Sophie Aubin and Thierry Hamon. Improving Term Extraction with Terminological Resources. In Advances in Natural Language Processing (5th International Conference on NLP, FinTAL 2006). pages 380-387. Tapio Salakoski, Filip Ginter, Sampo Pyysalo, Tapio Pahikkala (Eds). August 2006. LNAI 4139.

AUTHOR

Thierry Hamon <thierry.hamon@univ-paris13.fr> and Sophie Aubin <sophie.aubin@lipn.univ-paris13.fr>

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Thierry Hamon and Sophie Aubin

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.