Author image Thierry Hamon
and 1 contributors

NAME

Lingua::YaTeA::TestifiedTermMark - Perl extension for marks of testified terms

SYNOPSIS

  use Lingua::YaTeA::TestifiedTermMark;
  Lingua::YaTeA::TestifiedTermMark->new();

DESCRIPTION

The module implements the marks indicating testified terms in the document structures. Each mark delimited with a start offset (START) and a end offset (END). An identifier TESTTIED_ID is associated to the mark. The module inherits of the module Lingua::YaTeA::AnnotationMark.

METHODS

new()

    new($form);

The method creates a new mark of testitied term from the form $form.

getTestifiedID()

    getTestifiedID();

The method returns the identifier of the mark.

isOpener()

    isOpener();

The method returns 1 if the mark is an opening mark, otherwise 0.

isCloser()

    isCloser();

The method returns 1 if the mark is an closing mark, otherwise 0.

parse()

    parse($form);

The method parses the form $form and returns an array containing three elements: the identifier of the frontier, the identifier of the testitied term and the type of the mark (opener or closer).

getStart()

    getStart();

The method returns the start offset of the mark.

getEnd()

    getEnd();

The method returns the end offset of the mark.

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.