NAME

Lingua::YaTeA::ForbiddenStructureMark - Perl extension for mananging the annotation marks for the forbidden structures

SYNOPSIS

use Lingua::YaTeA::ForbiddenStructureMark;
Lingua::YaTeA::ForbiddenStructureMark->new($form);

DESCRIPTION

This method implements the annotation marks defining the forbidden structures in the corpus. forbidden structure marks are lexico-syntactic structures defining the phrases which must not appear in the terms. The object inherits of the module Lingua::YaTea::AnnotaionMark. In addition to the annotation marks, each forbidden structure mark has a ACTION field defining the action to carry out when the mark is identified (value split or delete), and a SPLIT_AFTER field address the word after which the split action will be done.

METHODS

new()

new($form);

The method creates and retuens a new object for a forbidden structure mark $form as it appears in the annotated corpus. $form is in a specific internal format.

parse()

parse($form);

The method parses the forbiddent strcuture mark $form, and returns its identifier, the action to carry out, in the case of a split action, the word address which is used to split, and the type of mark (opener if the starting mark, and closer if it is the ending mark).

isOpener()

isOpener();

The method indicates if the mark is an opener, that is a mark indicating the beginning of a forbidden structure. The method returns 1 if the mark is an opener.

isCloser()

isCloser();

The method indicates if the mark is a closer, that is a mark indicating the end of a forbidden structure. The method returns 1 if the mark is a closer.

getAction()

getAction();

The method returns the action associated to the mark.

getSplitAfter()

getSplitAfter();

The method returns the word address where split action will be applyied.

isActionSplit()

isActionSplit();

The method indicates if the action is a split action (1 if yes, 0 if not).

isActionDelete()

isActionDelete();

The method indicates if the action is a delete action (1 if yes, 0 if not).

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.