← Blog

Languages

chrF metric for machine translation: formula, chrF vs BLEU, and COMET

chrF is a character n-gram F-score for machine translation (Popović, WMT 2015). The formula, a worked example, chrF3 vs chrF++, chrF vs BLEU, and COMET.

Oct 12, 2026 · Updated Nov 9, 20267 min read11 sources

Why it matters

A chrF, BLEU, or COMET number can only be compared with another one scored on the same test set, with the same variant, settings, and model version.

The short version

  1. 1chrF is an F-score over character n-grams of 1 to 6 characters, comparing your output with a reference; the number after chrF is beta, the weight on recall.
  2. 2chrF gives partial credit for near-miss words and needs no tokenizer; BLEU counts whole-word matches and needs one. Both trail neural metrics such as COMET.
  3. 3A COMET score from wmt22-comet-da runs 0 to 1, where close to 1 means high quality; older COMET models give scores that are only useful for ranking.

chrF is a machine translation metric that scores your translation by how many character n-grams it shares with a human reference translation. A character n-gram is a run of n characters, such as "cat" for n = 3. Maja Popović proposed chrF at the 2015 Workshop on Statistical Machine Translation (WMT) (Popović 2015, Section 2).

The score runs from 0 to 100, and higher means closer to the reference (sacreBLEU chrf.py). A word with the wrong ending still earns partial credit, and no tokenizer is needed (Popović 2015, Section 4).

Same translation, same reference, two tokenizers
Default tokenizer (13a)2.1 BLEU
Japanese tokenizer (ja-mecab)14.5 BLEU

Nothing about the translation changed. A score without its settings cannot be compared with another score.

Source: the sacreBLEU documentation's Japanese example, as cited in this post.

chrF formula

chrF is an F-score. It combines character n-gram precision and recall:

chrF(β) = (1 + β²) × chrP × chrR / (β² × chrP + chrR)

TermWhat it means
chrP (precision)Share of character n-grams in your output that also appear in the reference
chrR (recall)Share of character n-grams in the reference that also appear in your output
nn-gram length, from 1 to 6 characters. chrP and chrR are averaged over all 6 lengths
β (beta)Recall gets β times more weight than precision. β = 1 weights them equally

This is Equation 1 in the paper (Popović 2015, Section 2). Six characters gave the best correlations, and spaces are dropped because counting them did not help (Section 3.1).

chrF worked example

Reference: "the cat sat". Output: "the cats sat". Without spaces, that is "thecatsat" (9 characters) against "thecatssat" (10).

nOutput n-gramsReference n-gramsMatchesPrecisionRecall
110990.9001.000
29880.8891.000
38760.7500.857
47640.5710.667
56530.5000.600
65420.4000.500
Average0.6680.771

Put the averages into the formula: chrF1 = 71.6, chrF2 = 74.8, chrF3 = 75.9.

Now flip it: the output "the cat sat" dropped a letter from the reference "the cats sat". Precision and recall swap. chrF1 stays at 71.6, but chrF2 falls to 68.7 and chrF3 to 67.7. A higher β punishes missing content more than extra content.

chrF3 vs chrF2 vs chrF++

The number after chrF is β. Plus signs mean word n-grams were added.

NameβWord n-grams addedWhere it comes from
chrF (chrF1)1NoneStandard version in the 2015 paper
chrF33None2015 paper; best for translation out of English on WMT 2014 data
chrF22NonesacreBLEU default; β = 2 confirmed in the 2017 paper
chrF+2Unigrams2017 paper
chrF++2Unigrams and bigrams2017 paper; sacreBLEU --chrf-word-order 2

chrF3 weights recall 3 times as much as precision. The 2015 paper calls 3 a preliminary value (Popović 2015, Section 3).

In 2017, tested against direct human assessments, β = 2 and 3 scored about the same and both beat 1. Popović chose 2 because too much recall weight had produced over-long sentences in another team's tuning (Popović 2017, Section 4.1).

Adding word unigrams and bigrams improved the correlation the most. That is chrF++, with the word n-grams averaged in with the 6 character orders (Popović 2017, Sections 2 and 4.3).

How to read a chrF score in sacreBLEU

sacreBLEU prints a signature with every score so others can reproduce it. This default chrF result is from the README, with field meanings from chrf.py:

chrF2|nrefs:1|case:mixed|eff:yes|nc:6|nw:0|space:no|version:2.0.0 = 52.0

FieldWhat it means
chrF2chrF with β = 2. chrF2++ means word n-grams are on
nrefs:1Number of reference translations
case:mixedCase-sensitive. lc means lowercased
eff:yesEffective-order averaging, the default. no means epsilon smoothing
nc:6Character n-gram order
nw:0Word n-gram order. nw:2 is chrF++
space:noSpaces are not counted as characters
versionsacreBLEU version

In the README, the same output scored 52.0 as chrF2 and 49.0 as chrF2++, so never compare the two. For BLEU's signature and tokenizers, see what is sacreBLEU.

What is a good chrF score

There is no pass mark. chrF only compares systems on the same test set and settings, so the gap is what counts. The WMT23 Metrics Shared Task measured how big a gap expert human raters needed to also see a significant difference, at 80 percent confidence (WMT23 results, Section 7.1, Table 10):

MetricEnglish to GermanHebrew to EnglishChinese to English
chrF2.83.22.6
BLEU113.52.2
COMET0.0300.0140.013

A 1-point chrF gain falls short on all three.

chrF vs BLEU

chrFBLEU
CountsCharacter n-grams, 1 to 6Word n-grams, 1 to 4
FormulaF-score of precision and recallModified precision with a brevity penalty, no recall
TokenizerNot neededNeeded, and the choice moves the score
Near-miss wordsPartial creditNo credit for that word
WMT23 official rankingRank 7, score 0.694Rank 7, score 0.696

BLEU's design is in Papineni et al. 2002, Sections 2.1 to 2.3. Tokenization alone moved BLEU by as much as 1.8 points (Post 2018, Abstract). The ranking row is from WMT23 results, Table 1.

Pick chrF over BLEU. Kocmi and colleagues tested metrics against human judgments of 4,380 systems and advised COMET as the main metric, with chrF as the secondary metric and for unsupported languages. On BLEU they wrote "Do not use BLEU, it is inferior to other metrics" (Kocmi et al. 2021, Section 1).

COMET score: what it means

COMET is a neural metric that predicts a human quality rating from the source sentence, your translation, and a reference. The original models were trained on direct assessments, Human-mediated Translation Edit Rate, and Multidimensional Quality Metrics (MQM) ratings (Rei et al. 2020, Abstract and Section 1).

What the number means depends on the model (Unbabel/COMET README):

ModelNeeds a referenceScore
wmt22-comet-da (default)Yes0 to 1. Close to 1 means high quality, close to 0 means no better than random chance
wmt22-cometkiwi-daNo0 to 1
XCOMET-XL and XCOMET-XXLUsed with one in the README exampleA quality score plus error spans marked minor, major, or critical
wmt20-comet-da (COMET before 2.0)Yesz-score style values with no direct meaning, useful only for ranking

Always report the model name: wmt20 and wmt22 scores use different scales. To test whether two systems differ, run comet-compare, a paired t-test with bootstrap resampling. For scoring without a reference, see machine translation quality estimation.

How to measure translation quality beyond BLEU

  1. Pick a neural metric as your main score. Kocmi and colleagues recommend COMET (Section 1). In WMT23 it ranked 3, above chrF and BLEU at 7 (Table 1).
  2. Add chrF as a second score. Kocmi and colleagues call it the best performing string-based method, and the fallback for languages COMET does not support (Section 7).
  3. Score every system on the same test set. Record the sacreBLEU signature and the COMET model name.
  4. Run a paired significance test. Use --paired-bs in sacreBLEU (README) or comet-compare for COMET.
  5. Have professional translators review a sample with MQM. WMT judges every metric against expert MQM ratings because they are more reliable (WMT22 results, Abstract and Section 1).

WMT's MQM scoring weights errors by severity (WMT22 results, Table 2):

SeverityCategoryWeight
MajorNon-translation25
MajorAll others5
MinorFluency/Punctuation0.1
MinorAll others1
NeutralAll0

What to do next

  • Score your output with sacreBLEU using -m chrf, and save the full signature with the number.
  • Decide between chrF2 and chrF2++ once. Use the same one for every system you compare.
  • Run COMET with Unbabel/wmt22-comet-da and report the model name next to the score.
  • Before you call one system better, check the gap against the WMT23 table and run a paired test.
  • Send a sample to a professional translator for MQM-style error marking before any go or no-go decision.

Azcuna's BABEL reads, translates, and searches foreign-language documents entirely on-device, with no cloud and no connection, and keeps every claim tied to the passage it came from. The long read on offline machine translation goes further.

Questions people ask

What is the chrF metric in machine translation?

chrF is a character n-gram F-score. Maja Popović proposed it at WMT 2015. It compares the character sequences of 1 to 6 characters in your translation with those in a human reference, computes precision and recall, and combines them into one score from 0 to 100. The 2015 paper calls it language-independent and tokenization-independent, so it needs no word splitter.

What does the 3 in chrF3 mean?

The 3 is beta, the weight on recall. Popović's 2015 chrF paper says beta gives recall beta times more importance than precision, so chrF3 weights recall three times as much. In that paper chrF3 gave the highest average segment-level correlation with human rankings for translation out of English. The 2017 chrF++ paper later settled on beta 2, which is the sacreBLEU default and prints as chrF2.

What is the difference between chrF and chrF++?

chrF++ adds word unigrams and bigrams to the 6 orders of character n-grams. Popović's 2017 chrF++ paper found that combination improved correlation with direct human assessments the most. In sacreBLEU, chrF++ is the --chrf-word-order 2 setting, and the signature changes from nw:0 to nw:2 and from chrF2 to chrF2++. The two scores are not interchangeable: the sacreBLEU README example scores 52.0 as chrF2 and 49.0 as chrF2++.

What is a good chrF score?

There is no pass mark. A chrF score only compares systems on the same test set under the same settings. What matters is the gap. The WMT23 Metrics Shared Task results paper, Table 10, found a chrF gap of 2.6 to 3.2 points was needed for 80 percent confidence that expert human raters would also find a significant difference between two systems.

chrF vs BLEU: which is better?

chrF, as a secondary metric. Kocmi and colleagues, in To Ship or Not to Ship at WMT 2021, recommend COMET as the main metric, chrF as the secondary metric and for unsupported languages, and say not to use BLEU. chrF counts characters, so near-miss words get partial credit and no tokenizer is needed. In the WMT23 official ranking, chrF and BLEU tied at rank 7, well below neural metrics.

What is a COMET score in machine translation?

COMET is a neural metric from Unbabel, introduced at EMNLP 2020, trained to predict human quality ratings from the source, the translation, and a reference. The Unbabel/COMET README says the default model, wmt22-comet-da, scores from 0 to 1, where a score close to 1 indicates a high-quality translation. Models before 2022 give z-score values with no direct interpretation, useful only for ranking.

What quality metrics are used to evaluate AI-translated content?

Automatic metrics and expert human review. Kocmi and colleagues at WMT 2021 recommend a neural metric such as COMET as the main score, with chrF as a secondary score. The WMT Metrics Shared Task judges every metric against MQM ratings, where professional translators mark each error and its severity. For decisions about real content, that human MQM-style review is the reference point, not the automatic score.

Sources

  1. 1chrF: character n-gram F-score for automatic MT evaluation · Maja Popović, Proceedings of the Tenth Workshop on Statistical Machine Translation (WMT 2015), Association for Computational Linguistics
  2. 2chrF++: words helping character n-grams · Maja Popović, Proceedings of the Conference on Machine Translation (WMT 2017), Association for Computational Linguistics
  3. 3Bleu: a Method for Automatic Evaluation of Machine Translation · Papineni, Roukos, Ward, and Zhu, Association for Computational Linguistics (ACL 2002)
  4. 4A Call for Clarity in Reporting BLEU Scores · Matt Post, Association for Computational Linguistics (WMT 2018)
  5. 5sacreBLEU project README · sacreBLEU project (Matt Post and contributors)
  6. 6sacreBLEU chrF implementation (sacrebleu/metrics/chrf.py) · sacreBLEU project (Matt Post and contributors)
  7. 7COMET: A Neural Framework for MT Evaluation · Rei, Stewart, Farinha, and Lavie, Association for Computational Linguistics (EMNLP 2020)
  8. 8Unbabel/COMET (repository README) · Unbabel, on GitHub
  9. 9To Ship or Not to Ship: An Extensive Evaluation of Automatic Metrics for Machine Translation · Kocmi et al., Association for Computational Linguistics (WMT 2021)
  10. 10Results of WMT22 Metrics Shared Task: Stop Using BLEU - Neural Metrics Are Better and More Robust · Freitag et al., Association for Computational Linguistics (WMT 2022)
  11. 11Results of WMT23 Metrics Shared Task: Metrics Might Be Guilty but References Are Not Innocent · Freitag et al., Association for Computational Linguistics (WMT 2023)

Where this shows up in our work

More on languages