From 37bfd160f822507705e55424a41b3e5ddb07f7eb Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 25 Jan 2015 13:35:52 +0100 Subject: zipf v1.2.2 compat --- kbest_bleu_oracles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kbest_bleu_oracles b/kbest_bleu_oracles index 7db1c7e..2b11137 100755 --- a/kbest_bleu_oracles +++ b/kbest_bleu_oracles @@ -31,7 +31,7 @@ def main kbest.each_index { |i| context_cp = context.dup context_cp[j] = BLEU::get_counts kbest[i].s, references[j], n, cfg[:weight] - score = BLEU::hbleu(context_cp, n, debug) + score = BLEU::hbleu_(context_cp, n, debug) scores << score if score > max_score max_score = score -- cgit v1.2.3