To determine the true class of each word in a generated translation hypothesis, we use the word error rate (WER).
a target word is considered correct if it is aligned to itself in the Levenshtein alignment between hypothesis and reference translation(s).