The useful part, up front

What you’ll take away

  • WER counts edits per reference word, so inserted words can take the result above 100 percent.
  • Retain the reference direction and alignment instead of counting positional mismatches.
  • Normalization changes the scoring representation; it does not regenerate a better transcript.
  • Pooled corpus WER and the mean of individual utterance rates use different weights.
  • Empty references, segment boundaries and semantic consequences require explicit treatment beyond a bare score.
01

Two reference words can accumulate more than two errors

A speech-recognition report shows a word error rate of 200 percent. That looks impossible if you read it as the percentage of reference words that are wrong. But word error rate, usually shortened to WER, counts a different quantity. It adds substitutions, deletions and insertions, then divides by the number of words in the reference transcript. Inserted words contribute errors without adding reference words to the denominator. The result can therefore exceed 100 percent. [1]

Our example reference is “open gate”. The invented hypothesis, meaning the transcript being scored, is “please open the blue gate now”. Both reference words appear in order, but four extra words have been inserted. Four errors divided by two reference words gives 2, written as 200 percent. Nothing about that arithmetic requires a broken calculator. We will use written transcript pairs to examine alignment, normalization, averaging and empty references. No audio was transcribed and no speech model was evaluated. The purpose is to make the score understandable before it is used to compare systems. A number becomes much easier to interpret once its reference, counting rule and preprocessing are visible alongside it.

Three edits align two six-word sentences. Original reference: turn left at the next street. Hypothesis: turn right at next street now. Unit edit costs.
Original reference: turn left at the next street. Hypothesis: turn right at next street now. Unit edit costs. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
02

The reference defines both the comparison and its denominator

The reference is the transcript you have chosen as the expected wording. The hypothesis is the transcript you want to compare with it. A substitution replaces a reference word with another word. A deletion leaves out a reference word. An insertion adds a hypothesis word without a matching reference word. Matching words are sometimes called hits. If we call the hit count H, then the number of reference words is H+S+D. Insertions are not part of that total. The JiWER implementation uses this reference-side denominator. [3]

The direction of comparison matters. If the reference says “open gate” and the hypothesis says only “open”, one of two reference words is missing, giving 50 percent. Reverse those strings and the reference now contains one word, with one extra word in the hypothesis, giving 100 percent. The edit count is one in both directions, but the denominator changes. This is why an evaluation file should label references and hypotheses explicitly. An accepted reference also needs to represent the task you intend to score. A transcript with different spelling or annotation conventions can create mismatches that belong to the comparison protocol rather than proving that the recognizer failed to hear a sound.

03

Align words before counting which kind of error occurred

Consider the invented reference “turn left at the next street” and hypothesis “turn right at next street now”. Each has six words, but equal length does not make the words line up position by position. A useful minimum-edit alignment matches “turn”, substitutes “right” for “left”, matches “at”, deletes “the”, matches “next street”, and inserts “now”. There are four matching words, one substitution, one deletion and one insertion. The total is three errors over six reference words, or 50 percent.

If you simply compare the fourth, fifth and sixth positions, the missing “the” shifts later words and makes the comparison misleading. Alignment allows the shared sequence to line up across the deletion. JiWER describes its measures as using minimum edit distance, and its retained source records matching, replacement, deletion and insertion spans. [2][3] Our example uses a separate local calculation with a cost of one for each edit. A record should retain the alignment or enough information to reproduce it, especially when error categories are used to diagnose a system. The total score alone does not show which word changed, which disappeared, or which extra phrase appeared. Those details are often the most useful part of investigating an actual transcript.

The transformation changes the comparison. Original written pair. The second policy lowercases both strings and removes the full stop before splitting. This is an explicit example policy.
Original written pair. The second policy lowercases both strings and removes the full stop before splitting. This is an explicit example policy. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
04

Extra words explain a rate above 100 percent

Return to “open gate” and “please open the blue gate now”. Match “open” with “open” and “gate” with “gate”. The unmatched words are “please”, “the”, “blue” and “now”: four insertions. The hypothesis has six words, the reference has two, and at least four length-changing edits are required to bridge that difference. Four insertions achieve it, so the alignment is minimal. The result is four errors per two reference words, not four wrong reference positions.

Dividing by the six hypothesis words would instead produce 66.67 percent, but that is a different denominator and is not the WER definition used here. Clipping the result to 100 percent would also discard information about the extra output. Hugging Face's explanation explicitly notes that insertion errors can make WER exceed one. [1] Keep the raw count and denominator visible: I=4 and N=2 explain the 200 percent figure directly. A very high score can be a reason to inspect a transcript, reference or evaluation setup, but its magnitude alone does not identify the cause. Our invented pair demonstrates valid arithmetic; it does not diagnose hallucination, microphone quality, language mismatch or any particular speech model.

05

The same strings can score differently after an explicit transformation

Take the written reference “Turn left.” and hypothesis “turn left”. If our stated rule is to split on spaces and compare tokens exactly, “Turn” differs from “turn” and “left.” differs from “left”. There are two substitutions over two reference words, giving 100 percent WER. Now define another rule for this example: lowercase both strings and remove the full stop before splitting. Both become the same two words, so the score becomes zero. The recognizer did not improve between those calculations. We changed what the evaluation treats as equivalent.

Normalization can be useful when the intended question concerns words rather than capitalization or punctuation. It can also remove information that matters for a finished transcript. Hugging Face discusses evaluating normalized text while retaining formatted output for readers. [1] The choice should be declared before comparing systems and applied consistently to references and hypotheses. Do not assume a scorer silently makes those choices for you. JiWER 4.0.0's default word pipeline removes repeated spaces and surrounding spaces, then creates word lists; its separate standardization pipeline additionally specifies transformations such as lowercasing and contraction expansion. [4] Our full-stop removal is an explicit original rule, not a claim that either listed default automatically removes every punctuation mark.

06

A corpus score weights reference words rather than utterances equally

Imagine two recorded utterances. The first has two reference words and one error: 50 percent. The second has eighteen reference words and one error: about 5.56 percent. If you average those two percentages equally, you get approximately 27.78 percent. If you add their errors and reference words first, you get two errors divided by twenty words, or 10 percent. These results use the same two transcripts but answer differently weighted questions.

The JiWER implementation totals hits and edit counts across the paired sentences before computing its nonempty-reference WER. [3] This corresponds to the pooled 10 percent result in our example. It is also a reference-length-weighted average of the individual rates when all individual references are nonempty. A report calling 27.78 percent the mean utterance WER can still describe a useful quantity, but it should identify that averaging choice. Otherwise, a reader may compare it directly with a pooled corpus WER and mistake different weights for a recognizer improvement. Keep per-utterance word and error counts as well as the final number. They show whether a long recording or a collection of very short clips dominates the chosen summary.

Pooling counts and averaging percentages use different weights. Original two-utterance record. The equal-utterance mean is (50% + 5.56%)/2 ≈ 27.78%; the pooled result is 10%.
Original two-utterance record. The equal-utterance mean is (50% + 5.56%)/2 ≈ 27.78%; the pooled result is 10%. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
07

Silence needs an explicit convention because its word count is zero

An empty reference has no words. Directly inserting that zero into the ordinary WER denominator would require division by zero. A tool therefore needs a stated policy if it supports such cases. JiWER 4.0.0 defines zero error when both the reference and hypothesis are empty. When the reference is empty but the hypothesis contains words, it returns the insertion count in this all-empty-reference case. [2][3] Under that convention, an empty reference paired with “music playing” produces a value of two because both words are insertions.

This is a documented implementation rule, not a literal calculation of two divided by zero. It is also different from adding an empty-reference segment to a larger corpus with a positive reference-word total. If we add those two inserted words to our earlier twenty-word corpus, the total error count rises from two to four while the reference denominator remains twenty. The pooled result becomes 20 percent. Keeping silent segments can therefore expose unwanted output that would disappear if those segments were dropped. Our example uses an empty written reference; it does not establish that a real recording is silent or that every recognizer will produce the invented phrase. Those are separate facts that an audio evaluation must verify.

08

Joining segments can hide an error in where the words appeared

Take two tiny invented segments. Their references are “red” and “blue”. Their hypotheses are an empty string and “red blue”. Scored as separate pairs, the first segment has one deletion. The second contains the correct “blue” plus an inserted “red”. The total is two errors over two reference words, or 100 percent. The words exist somewhere in the combined output, but one appears in the wrong segment.

Now join each side into a single string before scoring. The combined reference is “red blue” and the combined hypothesis is also “red blue”. The score becomes zero. That does not repair the segment assignment. It removes the boundary from the comparison. JiWER provides separate contiguous transformation options, while its ordinary processing aligns the corresponding transformed sentence pairs. [3][4] Choose the boundary policy according to the task. A transcript-wide word comparison may be useful, while a caption or segmented-recording evaluation can also need correct local placement. Preserve segment identifiers and pairing instead of assuming that concatenation is harmless housekeeping. This example concerns text boundaries only; it makes no measurement of timestamps, speaker attribution or caption delay.

Removing a boundary can hide misplaced words. Original paired segments: references red / blue; hypotheses empty / red blue. No timing or speaker metric is represented.
Original paired segments: references red / blue; hypotheses empty / red blue. No timing or speaker metric is represented. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
09

Equal edit counts can have very different effects on meaning

Use the five-word reference “do not open the gate”. One hypothesis is “do open the gate”, which deletes “not”. Another is “do not open gate”, which deletes “the”. Each has one deletion over five reference words, so each receives 20 percent WER under our rules. Yet the first changes the instruction's direction, while the second retains its prohibition with less natural grammar. The equal counts do not make the two transcripts equally useful.

This follows from what the metric counts. The basic word-edit score assigns the same unit cost to either deletion in our example; it does not read the sentence and assign a larger penalty to a word carrying negation. Looking at the alignment gives the reviewer information that the total has compressed away. Keep WER for its stated role as a reproducible token-error summary, then examine task-relevant errors when they matter. Names, numbers, punctuation or specific commands may warrant separate checks depending on the application. Our example makes that limitation visible without defining a universal severity scale. A score can be mathematically correct and still be insufficient for deciding whether a transcript communicates the intended message.

10

Keep the scoring recipe with the result

A useful WER record starts with the paired reference and hypothesis text. Add the tokenization and normalization rules, segment boundaries, scorer version and handling of empty references. Keep the matching-word, substitution, deletion and insertion counts, the reference-word total, and the method used to combine utterances. These details explain how a reported number was produced and make later changes easier to assess. The retained implementation sources show why defaults and edge cases are part of that recipe. [2][3][4]

Our examples now explain several results that can initially look surprising. Four inserted words over a two-word reference gives 200 percent. The same written strings can move from 100 percent to zero after an explicit formatting transformation. Two utterances can produce a 27.78 percent mean of individual rates and a 10 percent pooled rate. Removing a segment boundary can hide misplaced words, and two equal deletion counts can alter meaning differently. None of those observations requires a model benchmark. They are consequences of declared scoring choices and original text pairs. When you encounter a speech-recognition score, reconstruct those choices first. Then compare like-for-like evaluations and inspect the errors relevant to the task the transcript must serve.

Preserve the scoring recipe with the score. Proposed evaluation record. Keep the original text so transformations and summaries can be inspected later.
Proposed evaluation record. Keep the original text so transformations and summaries can be inspected later. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
Follow the evidence

Sources & further reading

Explore the references behind this guide. External pages may change after our review.

  1. Evaluation metrics for ASR · Hugging Face
    Hugging Face Audio Course · Accessed 6 Nov 2026
  2. JiWER 4.0.0 README
    Jitsi / JiWER maintainers · Accessed 6 Nov 2026
  3. JiWER 4.0.0 word-processing implementation
    Jitsi / JiWER maintainers · Accessed 6 Nov 2026
  4. JiWER 4.0.0 default transformation pipelines
    Jitsi / JiWER maintainers · Accessed 6 Nov 2026

Article updated 6 Nov 2026.

Found something we should revisit?

Good explanations get better with thoughtful feedback.

Suggest a correction