| Alvis-NLPPlatform documentation | view source | Contained in the Alvis-NLPPlatform distribution. |
Alvis::NLPPlatform::Document - Perl extension for handling (getting and adding) information into a ALVIS XML file or data.
use Alvis::NLPPlatform::Document;
Alvis::NLPPlatform::Document
getnamespace($file);
This method returns the namespace of the file $file.
get_documentRecords($xmlalvisfile);
The method returns an array of the document record contained in the
document collection $xmlalvisfile.
get_language_from_file($xmlalvisfile, $outfile, $config);
get_language_from_data($xmlalvis);
This method adds the language properties in the document records of
the document collection $xmlalvis. $outfile is the name of the
output file. The path of modified document collection is returned.
get_language($doc);
This method identifies the language of each document in the document
collection $doc and adds it in each ones. The modified document
collection is returned.
# =head1 ENVIRONMENT
Alvis web site: http://www.alvis.info
Thierry Hamon <thierry.hamon@lipn.univ-paris13.fr>
Copyright (C) 2007 by Thierry Hamon
This program 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.
| Alvis-NLPPlatform documentation | view source | Contained in the Alvis-NLPPlatform distribution. |