diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-05-26 15:21:32 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-05-26 15:21:32 +0400 |
commit | 4c90c88733ed2bfa5a131394f1e75eb2adf0a863 (patch) | |
tree | 23b72ad431de8d86503d887dd8e5bf6e77cc667b /scripts/generic | |
parent | 07fafd51b509e93db7be238107325c45ca5f57cd (diff) |
make phrase-table.half naming consistent. Requested by Phil Williams
Diffstat (limited to 'scripts/generic')
-rwxr-xr-x | scripts/generic/score-parallel.perl | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/generic/score-parallel.perl b/scripts/generic/score-parallel.perl index fbb4d4d02..b399a83ba 100755 --- a/scripts/generic/score-parallel.perl +++ b/scripts/generic/score-parallel.perl @@ -152,7 +152,7 @@ $cmd = "\n\nOH SHIT. This should have been filled in \n\n"; if ($fileCount == 1 && !$doSort) { my $numStr = NumStr(0); - $cmd = "mv $TMPDIR/phrase-table.half.$numStr.gz $ptHalf.gz \n"; + $cmd = "mv $TMPDIR/phrase-table.half.$numStr.gz $ptHalf"; } else { @@ -162,14 +162,7 @@ else $cmd .= "| LC_ALL=C $sortCmd -T $TMPDIR "; } - $cmd .= " | gzip -c >"; - - if ($doSort) { - $cmd .= " $ptHalf.sorted.gz \n"; - } - else { - $cmd .= " $ptHalf.gz \n"; - } + $cmd .= " | gzip -c > $ptHalf"; } print STDERR $cmd; systemCheck($cmd); |