diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-01-24 15:00:45 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-01-24 15:00:45 +0400 |
commit | 5ae2a24878b8b04522eb5dbf58f6cd7f0b685ca6 (patch) | |
tree | 4eeb28b5350f1fd66d05db6e7700757f68151e72 /scripts/generic | |
parent | df6c71a276bfdf1915e80cc064e0deeaee16135f (diff) |
add --sort-batch-size arg to train-model.perl
Diffstat (limited to 'scripts/generic')
-rwxr-xr-x | scripts/generic/moses-parallel.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/generic/moses-parallel.pl b/scripts/generic/moses-parallel.pl index dc1625f14..fab71cbfa 100755 --- a/scripts/generic/moses-parallel.pl +++ b/scripts/generic/moses-parallel.pl @@ -914,6 +914,13 @@ sub check_translation_old_sge(){ print STDERR "outputfile=${inputfile}.$splitpfx$idx.trans inputfile=${inputfile}.$splitpfx$idx\n"; return 1; } + + if ($nbestflag && ) + {??? + print STDERR "N-best list doesn't exist"; + return 1; + } + } return 0; } |