orderAlSetAsBilCorpus.pl - Place sentence pairs of a secondary corpus at the head of the Alignment Set, in the same order.
perl orderAlSetAsBilCorpus.pl [options] required_arguments
See description in the manual (-man option).
Required arguments:
-ist FILENAME Input source-to-target links file -if BLINKER|GIZA|NAACL Input file(s) format (required if not TALP) -cs FILENAME New corpus source text file -ct FILENAME New corpus target text file -ost FILENAME Output source-to-target links file -of BLINKER|GIZA|NAACL Output file(s) format (required if not TALP)
Options:
-is FILENAME Input source words file -it FILENAME Input target words file -its FILENAME Input target-to-source links file -os FILENAME Output source words file -ot FILENAME Output target words file -ots FILENAME Output target-to-source links file -range BEGIN-END Input Alignment Set range -alignMode as-is|null-align|no-null-align Alignment mode -help|? Prints the help and exits -man Prints the manual and exits -v INT verbose mode
Input source-to-target (i.e. links) file name (or directory, in case of BLINKER format)
Input Alignment Set format (required if different from default, TALP).
New corpus source text file
New corpus target text file
Output (new format) source-to-target (i.e. links) file name (or directory, in case of BLINKER format)
Output (new) Alignment Set format (required if different from default, TALP)
Output (new format) source (words) file name. Not applicable in GIZA Format.
Output (new format) target (words) file name. Not applicable in GIZA Format.
Output (new format) target-to-source (i.e. links) file name (or directory, in case of BLINKER format)
Take alignment "as-is" or force NULL alignment or NO-NULL alignment (see AlignmentSet.pm documentation).
Prints a help message and exits.
Place sentence pairs of a secondary corpus at the head of the Alignment Set, in the same order.
perl orderAlSetAsBilCorpus.pl -ist eng2spa.A3.final -if giza -cs align_ref/test.eng.iso -ct align_ref/test.spa.iso -ost eng2spa.reordered -of giza
Patrik Lambert <lambert@gps.tsc.upc.es>
Copyright 2005 by Patrick Lambert
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2 or any later version).
3 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
'=item' outside of any '=over'
To install Lingua::AlignmentSet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::AlignmentSet
CPAN shell
perl -MCPAN -e shell install Lingua::AlignmentSet
For more information on module installation, please visit the detailed CPAN module installation guide.