Word Error Rate (WER)
A transcript that gets one word wrong in twenty feels very different from one that gets one wrong in three, and word error rate is the number that separates them. It asks a blunt question: how many single-word repairs would turn the system's output into the reference text?
How the number is built
Align the hypothesis against the reference using edit distance, count the three kinds of mistake, and divide by the number of words in the reference:
- substitutions — ship where the reference says sheep;
- deletions — a word the system dropped;
- insertions — a word it added that nobody said.
Zero is a perfect match, and because insertions are unbounded the score can exceed 1, reported as more than 100%. Scoring happens after normalisation of case, punctuation and number formats, and the choice of normaliser moves the figure more than most people expect. The jiwer package and the Hugging Face evaluate library both implement it.
What it rewards and what it ignores
WER is the standard yardstick for transcription and dictation, useful precisely because it is mechanical and reproducible across systems. It also treats every word as equally important: dropping the costs exactly what dropping not costs, though one is cosmetic and the other inverts the meaning, and the same indifference applies to a drug name in a clinical note. It gives no credit for a fluent paraphrase either, so it is the wrong instrument for translation or summarisation, where BLEU, chrF and TER belong. Rank systems with it, then read a sample of the actual errors before trusting the ranking.
Word error rate scores a transcript against a reference by aligning the two and counting substitutions, deletions and insertions, divided by the number of reference words. Zero is perfect, and the value can exceed 100% because insertions are unbounded. It is the standard metric for transcription, and it weights every word equally, so dropping not costs no more than dropping the. Results depend heavily on the text normalisation applied first.
Picture going through a typed-up version of a recorded interview with a red pen. You cross out the words that came out wrong, write in the ones that were missed, and strike the ones that were never said at all. Count your corrections, divide by the number of words that should have been there, and you have the word error rate.
It is how we say whether speech-to-text software is any good. One word wrong in twenty is excellent. One in three is unusable.
The catch is that the red pen treats every word alike. Missing not can reverse the meaning of a whole sentence, but it counts for exactly as much as missing the.