NAME
Alvis::NLPPlatform::Canonical - Perl extension for cleaning XML annotation of the canonical part of documents given the Alvis format.
SYNOPSIS
use Alvis::NLPPlatform::Canonical;
Alvis::NLPPlatform::Canonical::CleanUp($canonical);
DESCRIPTION
This module provides a method for removing XML annotation in the canonical section of Alvis documents.
METHODS
CleanUp($canonical_doc, $preserveWhiteSpace)
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.
SEE ALSO
Alvis::NLPPlatform
Alvis web site: http://www.alvis.info
AUTHORS
Thierry Hamon <thierry.hamon@lipn.univ-paris13.fr> and Julien Deriviere <julien.deriviere@lipn.univ-paris13.fr>
LICENSE
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.