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

tmx2opus - convert TMX into OPUS XML

USAGE

  tmx2opus [OPTIONS] [-o outfile] tmxfile

OPTIONS

  -o outfile ........ name of the output file (default = tmxfile)
  -p size ........... new files after <size> translation units
  -P ................ do NOT change some property names from ParaCrawl TMX
  -r ................ always remove regional codes
  -u ................ store unique sentences only
  -d ................ use DB_File to store sentences when using -u
  -v ................ verbose output

DESCRIPTION

tmx2opus converts TMX files into OPUS format. It handles translation units with several languages and it also does sentence-splitting based on Lingua::Sentence. Regional codes can be removed from the language attribute. If the outfile has the extension .gz then it will write to compressed files (corpus files and XCES link files)