chrF
Two translations of the same sentence differ by a single letter — “the children were playing” against “the children were playng”. A word-level score calls that word simply wrong and moves on. chrF does not: it compares output and reference by their character n-grams, so a near miss earns most of the credit it deserves.
How the score is computed
Both the system output and the reference are cut into overlapping character sequences — typically all n-grams up to length six, with whitespace removed — and the two bags are compared:
- Precision: the share of the output's character n-grams that appear in the reference.
- Recall: the share of the reference's n-grams the output recovered.
- The two combine into an F-score whose β parameter weights recall more heavily — β = 2 in the standard setting, giving the widely reported chrF2.
Why characters help
Morphologically rich languages — Finnish, Czech, Turkish — carry in word endings what English spreads across separate words, so one declension error destroys a whole token and a word-based metric records total failure. Character overlap credits the part the system got right, and correlates better with human judgement on exactly those language pairs than BLEU. The chrF++ variant adds word unigrams and bigrams to recover some sensitivity to word order. Both are implemented in sacreBLEU, which is where you would compute them in practice.
Why it matters
chrF needs no tokenizer, so no tokenisation choice silently shifts the number — a long-standing problem with BLEU — and it degrades gracefully on inflection and spelling. It still measures surface similarity: a fluent paraphrase that reuses none of the reference's letters scores badly, which is the gap embedding-based metrics such as BERTScore exist to close.
chrF scores machine translation by comparing character n-grams — usually up to length six — between output and reference, combining their precision and recall into an F-score that weights recall more heavily. Working below the word level, it awards partial credit for inflected or misspelled forms and needs no tokenizer, which makes it more reliable than BLEU on morphologically rich languages. It still measures surface overlap, so a good paraphrase scores poorly.
Imagine marking a spelling test. A pupil writes “recieve” instead of “receive”. A harsh marker scores the word zero; a fairer one notices that seven of the eight letters are right and gives most of the mark.
chrF is the fairer marker, used to grade translations produced by software. Instead of asking “is this exactly the same word as the correct answer?”, it compares short runs of letters and counts how much they overlap. That matters for languages where words constantly change shape — a small ending error no longer wipes out the whole word. The result is a score that agrees better with what people actually think of the translation.