The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Alvis::NLPPlatform::Document - Perl extension for handling (getting and adding) information into a ALVIS XML file or data.

SYNOPSIS

use Alvis::NLPPlatform::Document;

Alvis::NLPPlatform::Document

DESCRIPTION

METHODS

getnamespace

    getnamespace($file);

This method returns the namespace of the file $file.

get_documentRecords

    get_documentRecords($xmlalvisfile);

The method returns an array of the document record contained in the document collection $xmlalvisfile.

get_language_from_file

    get_language_from_file($xmlalvisfile, $outfile, $config);

get_language_from_data

    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

    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

SEE ALSO

Alvis web site: http://www.alvis.info

AUTHOR

Thierry Hamon <thierry.hamon@lipn.univ-paris13.fr>

LICENSE

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.