Lingua::YaTeA::Island - Perl extension for island of reliability
use Lingua::YaTeA::Island; Lingua::YaTeA::Island->new($index,$type,$source);
This module reprensents the island of reliability and provided related methods for manipulating if. An island of reliability is a subsequence (contiguous or not) of a Maximal Noun Phrase (MNP) that corresponds to a shorter term candidate that was parsed during the first step of the parsing process.
An island is defined with a list of parsed phrase (i.e. the sequence of Part-of-Speech tags) corresponding to the current island (field SOURCE), the index set for the parsed phrase corresponding to the current island (field INDEX_SET), the origin of the island (field TYPE ; value endogenous if issued from the parsing of the current text, exogenous if issued fom an input resource or previous text parsing).
SOURCE
INDEX_SET
TYPE
endogenous
exogenous
An identifier (recorded in the field ID is associated to the isalnd. the information that the island is used in the parsing of a wider parsed phrase or island, is recorded in the field INTEGRATED (the default value is 0).
ID
INTEGRATED
new($index,$type,$source);
The method defined a new island. $source is the list of parsed phrase (i.e. the concatenation of Part-of-Speech tags or the key of the pharses) corresponding to the island. $index is the index set for the parsed phrase corresponding to the current island. $type is the origin of the island (value endogenous if issued from the parsing of the current text, exogenous if issued fom an input resource or previous text parsing).
$source
$index
$type
getIndexSet();
The method returns the index set for the parsed phrase corresponding to the current island.
getType();
The method returns the origin of the island (endogenous or exogenous).
getParsingMethod();
The method return the parsing methods associated to the parsed phrase corresponding to the island of reliability.
getIF();
The method returns the inflected form of the parsed phrase corresponding to the island of reliability.
getSource();
The method return the parsed phrase (i.e. the sequence of Part-of-Speech tags) corresponding to the island of reliability.
getID();
The method returns the identifier of the island.
importNodeSets();
This method returns a copu of the node sets corresponding to the island. The methods also updates the index set of the island.
gapSize();
The method returns the number of words into the word sequence delimited by the island island but not appearing in the island.
print($fh);
The pethod prints the island into the stream $fh.
$fh
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.
Thierry Hamon <thierry.hamon@univ-paris13.fr> and Sophie Aubin <sophie.aubin@lipn.univ-paris13.fr>
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.
To install Lingua::YaTeA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::YaTeA
CPAN shell
perl -MCPAN -e shell install Lingua::YaTeA
For more information on module installation, please visit the detailed CPAN module installation guide.