Alvis::NLPPlatform::Canonical - Perl extension for cleaning XML annotation of the canonical part of documents given the Alvis format.
use Alvis::NLPPlatform::Canonical;
Alvis::NLPPlatform::Canonical::CleanUp($canonical);
This module provides a method for removing XML annotation in the canonical section of Alvis documents.
This method removes all the XML tags in the canonical document ($canonical_doc), passed as paramater. Note that the method assumes that only the canonical section is sent. The boolean $preserveWhiteSpace indicate if the linguistic annotation will be done by preserving white space or not, i.e. XML blank nodes and white space at the beginning and the end of any line.
$canonical_doc
$preserveWhiteSpace
Alvis::NLPPlatform
Alvis web site: http://www.alvis.info
Thierry Hamon <thierry.hamon@lipn.univ-paris13.fr> and Julien Deriviere <julien.deriviere@lipn.univ-paris13.fr>
Copyright (C) 2005 by Thierry Hamon and Julien Deriviere
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.