summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-01-25 13:35:52 +0100
committerPatrick Simianer <p@simianer.de>2015-01-25 13:35:52 +0100
commit37bfd160f822507705e55424a41b3e5ddb07f7eb (patch)
tree28b29d15b6f3dbbeaa89c4509bffa57cb14f5dcc
parent33a248464bd3ac09135e97facf2e7796bc3267ff (diff)
zipf v1.2.2 compat
-rwxr-xr-xkbest_bleu_oracles2
1 files changed, 1 insertions, 1 deletions
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