NAME
Lingua::YaTeA::DocumentSet - Perl extension for document set
SYNOPSIS
use Lingua::YaTeA::DocumentSet;
Lingua::YaTeA::DocumentSet->new();
DESCRIPTION
The module implements the document set. Documents are stored in an array (the attribut DOCUMENT
is a reference to this array).
METHODS
new()
The method creates a set of documents and returns it.
getDocuments()
getDocuments();
The method returns the set of document as a reference to an array.
addDefaultDocument()
addDefaultDocument();
The method initiates a new document with an empty word.
addDocument()
addDocument($word);
The method adds a word to the current document.
getCurrent()
getCurrent();
The method returns the current document (i.e. the last document).
getDocumentNumber()
getDocumentNumber();
The method returns the size of the document set (i.e. the number of documents in the set).
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.