NAME
Lingua::YaTeA::MessageSet - Perl extension for message set
SYNOPSIS
use Lingua::YaTeA::MessageSet;
Lingua::YaTeA::MessageSet->new($file, $language);
DESCRIPTION
The module is dedicated to the management of the message set acccoding to the language. Messages are stored in the MESSAGES
field, a hashtables.
METHODS
new()
new($file, $language);
The method creates a new message set for the language $language
and loads the messages stored in the file $file
.
loadMessages()
loadMessages($file, $language);
the method loads the messages stored in the file $file
, for the language $language
.
addMessage()
addMessage($message);
The method adds a message in the message set.
getMessage()
getMessage($name);
The method returns the message named $name
.
getMessages()
getMessages();
The method returns the reference to the hashtable containing the messages.
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.