Topics
BLEU score uses the concept of precision of n-grams. Out of all the n-grams in translated sequence , how many of them occur in ground truth sequence ?
Recall that precision is: Out of my N predictions, how many were correct?
Let = precision of 1-gram
, = precision of 2-gram
etc.
Thus will be out of all bigrams in , how many exist in . In the example, .
Warning
instead of , because we cap the duplicates by their number of occurrences in the ground truth.
cat
occurred twice in , but only once in , so we only count it once.