From eedbb76ce84bfbdb3cdb228de094907eb2fd8099 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sun, 17 Mar 2019 13:29:09 +0100 Subject: per-sentence-ter: fix --- per-sentence-ter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'per-sentence-ter') diff --git a/per-sentence-ter b/per-sentence-ter index fa283ef..f2f2b20 100755 --- a/per-sentence-ter +++ b/per-sentence-ter @@ -22,7 +22,7 @@ def main a.write line+"\n" b.write refs[i]+"\n" a.close; b.close - score = `/toolbox/cdec-dtrain/mteval/fast_score -i #{a.path} -r #{b.path} -m ter 2>/dev/null` + score = `#{conf[:mteval_bin]} -i #{a.path} -r #{b.path} -m ter 2>/dev/null` puts score a.unlink; b.unlink end -- cgit v1.2.3