Alvis::NLPPlatform::Document - Perl extension for handling (getting


Alvis-NLPPlatform documentation  | view source Contained in the Alvis-NLPPlatform distribution.

Index


NAME

Top

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

SYNOPSIS

Top

use Alvis::NLPPlatform::Document;

Alvis::NLPPlatform::Document

DESCRIPTION

Top

METHODS

Top

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

Top

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

AUTHOR

Top

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

LICENSE

Top

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.