XML::TMX::CWB - TMX interface with Open Corpus Workbench
XML::TMX::CWB->toCWB( tmx => $tmxfile,
from => 'PT', to => 'EN',
corpora => "/corpora",
corpus_name => "foo",
tokenize_source => 1,
tokenize_target => 1,
verbose => 1,
registry => '/path/to/cwb/registry' );
XML::TMX::CWB->toTMX( source => 'sourcecorpus',
target => 'targetcorpus',
source_lang => 'PT',
target_lang => 'ES',
verbose => 1,
output => "foobar.tmx");
Fetches an aligned pair of corpora on CWB and exports it as a TMX file.
Imports a TMX file (just two languages) to a parallel corpus on CWB.
Alberto Simoes, <ambs at cpan.org>
<ambs at cpan.org>
Please report any bugs or feature requests to bug-xml-tmx-cwb at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-TMX-CWB. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-xml-tmx-cwb at rt.cpan.org
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
Copyright 2010-2014 Alberto Simoes.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install XML::TMX::CWB, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.