The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XML::TMX::CWB - TMX interface with Open Corpus Workbench

SYNOPSIS

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");

METHODS

toTMX

Fetches an aligned pair of corpora on CWB and exports it as a TMX file.

toCWB

Imports a TMX file (just two languages) to a parallel corpus on CWB.

AUTHOR

Alberto Simoes, <ambs at cpan.org>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc XML::TMX::CWB

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

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.