You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/06/03 01:51:14 UTC
incubator-joshua git commit: fixed bleu script invocation
Repository: incubator-joshua
Updated Branches:
refs/heads/master be8fe0a08 -> 867b86916
fixed bleu script invocation
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/867b8691
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/867b8691
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/867b8691
Branch: refs/heads/master
Commit: 867b86916b0b95bd491e670ea0dd92460ae58a41
Parents: be8fe0a
Author: Matt Post <po...@cs.jhu.edu>
Authored: Thu Jun 2 21:50:58 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Thu Jun 2 21:50:58 2016 -0400
----------------------------------------------------------------------
bin/bleu | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/867b8691/bin/bleu
----------------------------------------------------------------------
diff --git a/bin/bleu b/bin/bleu
index 087164b..cef6fed 100755
--- a/bin/bleu
+++ b/bin/bleu
@@ -32,4 +32,7 @@ fi
numrefs=$(ls $refs* | wc -l)
verbose=0
-java -cp $JOSHUA/class -Dfile.encoding=utf8 -Djava.library.path=lib -Xmx256m -Xms256m -Djava.util.logging.config.file=logging.properties joshua.util.JoshuaEval -cand $output -format $format -ref $refs -rps $numrefs -m BLEU 4 closest -v 0
+java -cp $JOSHUA/target/joshua-*-jar-with-dependencies.jar \
+ -Dfile.encoding=utf8 -Djava.library.path=$JOSHUA/lib \
+ -Xmx256m -Xms256m \
+ org.apache.joshua.util.JoshuaEval -cand $output -format $format -ref $refs -rps $numrefs -m BLEU 4 closest -v 0