nat-pair2tmx - join two files in NATools input format into a TMX file.
nat-pair2tmx <file1> <lang1> <file2> <lang2>
This script is used to convert a pair of files in NATools input format (translation units separated by a dollar sign) into a TMX file.
To use it supply two NATools input files (with same number of translation units) and two language descriptors. For instance,
nat-pair2tmx corpus.pt pt corpus.en en > corpus-pt-en.tmx
Note that the TMX will be output to STDTOU.
NATools documentation, perl(1)
Alberto Manuel Brandão Simões, <ambs@cpan.org>
Copyright (C) 2006-2009 by Alberto Manuel Brandão Simões
To install Lingua::NATools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::NATools
CPAN shell
perl -MCPAN -e shell install Lingua::NATools
For more information on module installation, please visit the detailed CPAN module installation guide.