diff options
Diffstat (limited to 'kbest_bleu_oracles')
-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 |