Merge branch 'hieu_opt_input' of github.com:hieuhoang/mosesdecoder into hieu_opt_input

This commit is contained in:
Hieu Hoang 2013-07-24 18:07:08 +01:00
commit 62e9689e1e

View File

@ -353,7 +353,13 @@ for(my $i=0;$i<=$#TABLE;$i++) {
my $cmd = "LC_ALL=C sort -T $dir $new_file > $new_file.sorted; $binarizer -in $new_file.sorted -out $new_file -nscores $TABLE_WEIGHTS[$i]; rm $new_file.sorted";
print STDERR $cmd."\n";
print STDERR `$cmd`;
} else {
}
elsif ($binarizer =~ /CreateOnDiskPt/) {
my $cmd = "$binarizer $new_file $new_file.bin";
print STDERR $cmd."\n";
print STDERR `$cmd`;
}
else {
my $cmd = "cat $new_file | LC_ALL=C sort -T $dir | $binarizer -ttable 0 0 - -nscores $TABLE_WEIGHTS[$i] -out $new_file";
print STDERR $cmd."\n";
print STDERR `$cmd`;