The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lingua::YaTeA::PatternLeaf - Perl extension for the leaf node of a syntactic pattern tree

SYNOPSIS

  use Lingua::YaTeA::PatternLeaf;
  Lingua::YaTeA::PatternLeaf->new($tag, $father);

DESCRIPTION

This module implements the leaf node of a syntactic pattern. Objects inherit of the module Lingua::YaTeA::Edge. A Part-of-Speech tag can be associated to the node. The node is connected to its father node.

METHODS

new()

    new($tag, $father);

This method creates a leaf node and associates a Part-of-Speech tag $tag. It also connects the node to its father node $father.

getPOS()

    getPOS();

This method returns the Part-of-Speech tag associated to the node.

print()

    print();

This method prints the Part-of-Speech tag associated to the node.

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.