Historical OCR comparison and character error rate

Compare a checked transcription with OCR text and review character differences and key terms.

No accountBrowser-localInputs and limits visible

Compare a checked transcription with OCR

Text is processed in your browser. Avoid including restricted or identifying material when sharing results.

MATCHED EXCERPTS

LIVE RESULT

INSTANT

Character comparison

Only valid as an accuracy measure when the reference is checked against the source. Error counts do not measure historical significance or prove the reference is correct.

Aligned differences

Highlighted characters are one minimum-edit alignment. Repeated characters can admit more than one equally valid alignment.

How character error rate is calculated

Character error rate (CER) is the minimum number of inserted, deleted and substituted Unicode code points divided by the reference length. A reference of four characters with one substitution gives 25%. Insertions can make CER exceed 100%. We compare exact text including whitespace, punctuation and case, with no automatic Unicode normalization. Visually identical accented characters can have different code points. CER is not word error rate or a percentage of historically correct facts.

CER = (Substitutions + Deletions + Insertions) ÷ Reference Unicode code points

Worked examples: why low CER can still hide major factual errors

Notice how a single character change in a date alters meaning far more severely than five predictable f/ſ substitutions, even though CER is nearly four times lower:

Worked character error rates illustrating why key-term checks complement overall CER.
CaseEdit distanceRef lengthCERArchival interpretation note
Single digit substitution (date)1382.63%Minimal edit distance, high historical distortion (wrong year)
Long-s / consonant swap73917.95%Recurring 18th-century f/ſ character confusion lowers term recall
Spurious line-break hyphen2316.45%Hyphen + extra space add 2 insertions before tokenization

Documenting source provenance before citing

Look at the source image when a date, person or place differs. The optional term check is a literal search, not named-entity recognition, and can miss variants or detect a term in the wrong context. This tool does not perform OCR, read images, judge meaning or validate the reference. The copy button includes the pasted texts.

  • Inspect figures, names and negation manually: Always verify numbers, currency signs, surnames and “not” clauses directly against the scanned page image.
  • Record normalization choices: Document whether you collapsed line-break hyphens or preserved original spelling before reporting corpus-wide CER scores.
  • Compare term context before publishing: Check recurring OCR artifacts or word variants with the word-in-context viewer and document frequency tool.

Read how to check OCR before citing. The OCR-D evaluation specification explains edit distance and the importance of consistent normalization.

Useful context

Before reporting an OCR error rate

Can Character Error Rate (CER) ever exceed 100%?

Yes. Because insertions are added in the numerator while dividing by the verified reference length, heavy spurious OCR garbage, headers or duplicate lines can push CER well above 100%.

Why do accented characters that look identical show up as substitutions?

Unicode represents accents in two ways: single precomposed code points (NFC) or base letters followed by combining marks (NFD). Since no automatic normalization is applied, normalize both excerpts first if encoding mismatches are not meant to count as errors.

Is CER equal to Word Error Rate (WER)?

No. One single-letter typo can leave CER very low while failing an exact whole-word match, making WER several times larger than CER on short passages.