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.
$file
get_documentRecords($xmlalvisfile);
The method returns an array of the document record contained in the document collection $xmlalvisfile.
$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.
$xmlalvis
$outfile
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.
$doc
# =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.
To install Alvis::NLPPlatform, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alvis::NLPPlatform
CPAN shell
perl -MCPAN -e shell install Alvis::NLPPlatform
For more information on module installation, please visit the detailed CPAN module installation guide.