splitCollection.pl - Perl script for spliting a collection of XML documents
splitCollection.pl [--help] [--man] [--rcfile=file] [--lang=lang] [--params=params] [--format=format]
The script splits a document collection in ALVIS XML format into several files in the same format. The ALVIS XML format is the format used by the Ogmios platform to load file and record linguistic annotations.
Intput file is given by the option --file. Output files are stored in a directory specified with the option --dir. Each output file has the prefix indicated by the option --prefix.
--file
--dir
--prefix
SplitCollection.pl -f examples/twodocs.xml -d examples -p subcoll -b 1 -s 1
Thierry Hamon, <thierry.hamon@limsi.fr>
Copyright (C) 2012 Thierry Hamon
This is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
To install Lingua::Ogmios, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::Ogmios
CPAN shell
perl -MCPAN -e shell install Lingua::Ogmios
For more information on module installation, please visit the detailed CPAN module installation guide.