Author image Thierry Hamon
and 1 contributors

NAME

Lingua::YaTeA::ChunkingDataSubset - Perl extension for subset of chuncking data.

SYNOPSIS

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

DESCRIPTION

The module implements subsets of chunking data, i.e. chunking frontiers, chunking exceptions, cleaning frontiers, and cleaning exceptions. Chunking data are stored in three hashtbles according to their types: inflected form in IF field, lemmatized form in LF field, and part-of-speech tags in POS field.

METHODS

new()

    new();

The method creates a new empty chunking data subset.

getIF()

    getIF();

The method returns the reference to the hashtable of inflected forms.

getPOS()

    getPOS();

The method returns the reference to the hashtable of Part-of-Speech tags.

getLF()

    getLF();

The method returns the reference to the hashtable of lemmatized forms.

getSome()

    getSome($type);

The method returns the reference to the hashtable of the field defined by $type.

addIF()

    addIF($value);

The method adds $value to the inflected form field of the chuncking subset.

addPOS()

    addPOS($value);

The method adds $value to the Part-of-Speech field of the chuncking subset.

addLF()

    addLF($value);

The method adds $value to the lemmatized form field of the chuncking subset.

addSome()

    addSome($type,$value);

The method adds information related to the type $type (i.e. IF -- inflected form, LF -- lemmatized form, POS -- Part-of-Speech tagqq) with the value $Value.

existData()

The methods checks if the value $value exists in the field $type. It returns 1 if it exists, otherwise 0.

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.