Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <fishandfrolick@gmail.com>2012-01-24 15:00:45 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-01-24 15:00:45 +0400
commit5ae2a24878b8b04522eb5dbf58f6cd7f0b685ca6 (patch)
tree4eeb28b5350f1fd66d05db6e7700757f68151e72 /scripts/generic
parentdf6c71a276bfdf1915e80cc064e0deeaee16135f (diff)
add --sort-batch-size arg to train-model.perl
Diffstat (limited to 'scripts/generic')
-rwxr-xr-xscripts/generic/moses-parallel.pl7
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;
}