Closed martinpopel closed 9 years ago
Done in a39f9c3d815630008657b09b88219a2b78354760.
http://quest.ms.mff.cuni.cz:7280/tasks/212-211/compare still shows the BLEU=0 for "Jsem optimista ."
I'm sorry, I need to reimport tasks.
I guess it is fixed now: http://quest.ms.mff.cuni.cz:7280/tasks/212-211/compare
Yes, it's fixed (just the URL of commercial1 CU-Chimera is now http://quest.ms.mff.cuni.cz:7280/tasks/214-215/compare ).
See http://quest.ms.mff.cuni.cz:7280/tasks/212-211/compare
So CU-Chimera produced a perfect (same-as-reference) translation, but it got sentence-level BLEU=0, while commercial1 produced a different translation and it got non-zero BLEU.
What should be the BLEU of a three-word translation identical to the reference? According to mteval-v13a.pl, it should be 1, because even for n=4, the precision is 1. Why? If the number of test 4-grams is 0,
$iscore = 0
, but$iscore
is used as an exponent, so the 4-gram precision is exp(0).So I suggest to change this code to
$precision = 1
and similarly, in the implementation of recall there should be$recall = 1
.