WER
How it works
1) The hypothesis transcript (ASR output) and the reference transcript are normalized (e.g. lowercasing, punctuation removal). 2) The two word sequences are aligned by computing the minimum word-level edit (Levenshtein) distance. 3) Three error types are counted: substitutions (S — a word replaced by another), deletions (D — a reference word omitted) and insertions (I — a word added by the system). 4) The error sum is divided by the number of reference words N: WER = (S + D + I) / N. The metric is based on Levenshtein distance and is normally reported after the same normalization across all compared systems.
Problem solved
An objective, reproducible and cross-model way of measuring speech transcription accuracy is needed. Subjective 'by ear' judgement cannot reliably compare systems or track progress. WER reduces ASR quality to a single number that accounts for three error types — substitutions, deletions and insertions — against a reference transcript.