From 61b970ea136163f89086b4f764dadbb55ec77ff0 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 4 Aug 2017 12:47:47 +0200 Subject: per-sentence-bleu: fix --- per-sentence-bleu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'per-sentence-bleu') diff --git a/per-sentence-bleu b/per-sentence-bleu index 402f364..e70db2b 100755 --- a/per-sentence-bleu +++ b/per-sentence-bleu @@ -20,7 +20,7 @@ def main puts 0.0 next end - puts BLEU::per_sentence_bleu line.strip, refs[i], conf[:n], conf[:len_hack] + puts BLEU::per_sentence_bleu line.strip, refs[i].split, conf[:n], conf[:len_hack] end input.close end -- cgit v1.2.3