Author image Thierry Hamon
and 1 contributors

NAME

Lingua::YaTeA::IslandSet - Perl extension for set of reliability islands

SYNOPSIS

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

DESCRIPTION

The module implements a set of reliability islands. Islands are stored if the field ISLANDS which is a reference to a hashtable.

METHODS

new()

    new();

The method creates a new island set.

getIslands()

    getIslands();

The method returns the reference to the hashtable containing the islands.

existIsland()

    existIsland($index_set);

The method returns 1 if the island referred by $index_set exists in the current set of island, otherwise 0.

getIsland()

    getIsland($index_set);

The method returns the island referred by $index_set exists in the current set of island.

existLargerIsland()

    existLargerIsland($index);

The method returns 1 if it exists a larger island than the island referred by $index, otherwise 0.

addIsland()

    addIsland($island);

The method adds the island $island in the current set.

removeIsland()

    removeIsland($island);

The method removes the island $island in the current set.

size()

    size();

The method returns the number of islands in the current set.

print()

    print($fh);

The method prints the island of the current set in the file referred by $fh.

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.