diff options
author | Patrick Simianer <p@simianer.de> | 2015-01-25 13:35:52 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-01-25 13:35:52 +0100 |
commit | 37bfd160f822507705e55424a41b3e5ddb07f7eb (patch) | |
tree | 28b29d15b6f3dbbeaa89c4509bffa57cb14f5dcc | |
parent | 33a248464bd3ac09135e97facf2e7796bc3267ff (diff) |
zipf v1.2.2 compat
-rwxr-xr-x | kbest_bleu_oracles | 2 |
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 |