mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
Merge branch 'hieu_opt_input' of github.com:hieuhoang/mosesdecoder into hieu_opt_input
This commit is contained in:
commit
62e9689e1e
@ -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`;
|
||||
|
Loading…
Reference in New Issue
Block a user