Skip to content

Glossary

Character error rate (CER)

Character error rate (CER) is the number of character insertions, substitutions and deletions needed to turn a recognizer's output into the correct text, divided by the number of characters in the correct text. It is the usual measure where words are not separated by spaces.

Updated October 17, 20264 cited facts, each traced to its source

Also called CER.

Character error rate (CER) measures how often a transcript gets individual characters wrong. It counts the minimum number of insertions, substitutions and deletions needed to turn the recognizer's output into the reference text, then divides by the number of characters in the reference. A lower number is better, and zero means the output matches the reference exactly.

How the count works

The method is a Levenshtein distance computed at the character level. A 2024 Mandarin challenge describes CER as counting the minimum number of insertions, substitutions and deletions required to transform the recognizer output into the reference 1. An OCR study states the same idea as the minimum number of character substitutions, deletions and insertions needed to turn the ground truth into the output, divided by the number of characters in the ground truth 2.

A small example shows the logic. If the reference is "ten" and the output is "tent", the output has one inserted character, so the count is one error. The rate then depends on how many characters the whole reference contains.

Why CER is used for Chinese and Japanese

Word error rate needs word boundaries, and Chinese and Japanese do not put spaces between words. The Whisper paper put a space between every letter for Chinese, Japanese, Thai, Lao and Burmese, which means it measured character error rate for those languages instead of word error rate 3. For Mandarin, the AISHELL-1 baseline reported a character error rate of 7.62 percent on the test set, from the best of three 2017 models 4. Those numbers are read speech in a quiet setting, so they show what is possible, not what you will get at a noisy desk.

What a CER number does not tell you

A CER value is only comparable with other values on the same test set, with the same normalization of punctuation and numbers. A lower CER on one corpus does not promise the same result for your voice or your topic. CER also treats every character as equal, so one wrong character in a name counts the same as one wrong common word.

Why it matters for dictation and typing

If you dictate Chinese, Japanese or Korean, look for CER results on a test set similar to your speech. For those languages, CER is closer to how a reader judges a transcript than a word count would be. Many dictation products do not publish CER, so compare tools by testing your own speech. The Japanese, Chinese and Korean speech to text guide covers each language and the typing side.

Related terms

Guides that cover it

Evidence

Every number on this page, with where it comes from. Open a fact to see the exact words in its source.

  1. 1.
  2. 2.
  3. 3.
  4. 4.

Related terms

Pages that use this term