mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
check for executables before running
This commit is contained in:
parent
6ca7ba5de1
commit
101e52da60
@ -31,6 +31,9 @@ die("ERROR: please set --phrase-table") unless defined($ptPath);
|
||||
#die("ERROR: please set --lex-ro") unless defined($lexRoPath);
|
||||
die("ERROR: please set --output-dir") unless defined($outPath);
|
||||
#die("ERROR: please set --num-lex-scores") unless defined($numLexScores);
|
||||
die("ERROR: compile contrib/sigtest-filter") if (!-X "$mosesDir/contrib/sigtest-filter/filter-pt");
|
||||
die("ERROR: compile with bjam --with-cmph") if (!-X "$mosesDir/bin/processLexicalTableMin");
|
||||
die("ERROR: compile with bjam --with-xmlrpc-c") if (!-X "$mosesDir/bin/CreateProbingPT2");
|
||||
|
||||
my $cmd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user