diff options
author | Patrick Simianer <p@simianer.de> | 2017-08-04 12:47:47 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2017-08-04 12:47:47 +0200 |
commit | 61b970ea136163f89086b4f764dadbb55ec77ff0 (patch) | |
tree | c2b4c8bbe55ba3944bb9e43b449eb42f9d6e0e74 | |
parent | ce63407606ba3ebd99c58bb137bdc7f8447cff2d (diff) |
per-sentence-bleu: fix
-rwxr-xr-x | per-sentence-bleu | 2 |
1 files changed, 1 insertions, 1 deletions
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 |