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.
<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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2010 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.