summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xper-sentence-bleu2
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