Skip to main content
QUICK REVIEW

[Paper Review] A Tool for Facilitating OCR Postediting in Historical Documents

Alberto Poncelas, Mohammad Aboomar|arXiv (Cornell University)|Apr 23, 2020
Handwritten Text Recognition TechniquesComputer Science17 references5 citations
TL;DR

This paper presents a postprocessing tool that automates correction of common OCR errors in historical documents by leveraging language model scores and string similarity to suggest replacements for out-of-vocabulary words. Tested on an 18th-century text, the tool corrected 63% of errors, particularly those involving 'f' and 's' confusion, while preserving transparency for human review.

ABSTRACT

Optical character recognition (OCR) for historical documents is a complex procedure subject to a unique set of material issues, including inconsistencies in typefaces and low quality scanning. Consequently, even the most sophisticated OCR engines produce errors. This paper reports on a tool built for postediting the output of Tesseract, more specifically for correcting common errors in digitized historical documents. The proposed tool suggests alternatives for word forms not found in a specified vocabulary. The assumed error is replaced by a presumably correct alternative in the post-edition based on the scores of a Language Model (LM). The tool is tested on a chapter of the book An Essay Towards Regulating the Trade and Employing the Poor of this Kingdom (Cary ,1719). As demonstrated below, the tool is successful in correcting a number of common errors. If sometimes unreliable, it is also transparent and subject to human intervention.

Motivation & Objective

  • To reduce manual postediting effort for OCR-processed historical documents by automating correction of frequent OCR errors.
  • To address challenges in OCR accuracy caused by degraded print quality, archaic typefaces, and inconsistent spelling in pre-1800 texts.
  • To provide a transparent, human-in-the-loop system that suggests corrections based on linguistic plausibility and context.
  • To improve the reliability and usability of digitized historical texts by minimizing noise from OCR misrecognitions.
  • To enable scalable, repeatable postprocessing of historical documents using open-source, language model-augmented correction.

Proposed method

  • The tool identifies words not found in a predefined vocabulary as potential OCR errors.
  • For each unrecognized word, it generates candidate replacements using string similarity (e.g., Levenshtein distance) to find plausible alternatives.
  • Each candidate is evaluated within the sentence context using a trained language model to score grammatical and lexical plausibility.
  • The highest-scoring candidate is proposed as a replacement, with the original and suggested forms retained for human review.
  • The system processes input as PDFs, extracting text via Tesseract OCR, then applies postediting using a bash script: `ocr_and_postprocess.sh`.
  • The tool is designed to be extensible, allowing future integration with automatic character misrecognition detection and period-specific language models.

Experimental results

Research questions

  • RQ1Can a language model-driven, string-similarity-based system effectively correct common OCR errors in historical documents?
  • RQ2To what extent can automated postediting reduce manual correction effort in OCR-processed early modern English texts?
  • RQ3How effective is context-aware correction using language model scoring in distinguishing plausible word replacements from incorrect ones?
  • RQ4What are the limitations of such a system when faced with ambiguous or highly irregular OCR errors?
  • RQ5Can the tool be adapted to detect and correct non-word errors while maintaining transparency for human oversight?

Key findings

  • The tool corrected 63% of OCR errors in a test corpus from an 18th-century text, demonstrating strong performance on common error types.
  • 66% of lines contained at least one correction, with a maximum of three corrections per line, indicating broad coverage of errors.
  • The system successfully corrected frequent errors involving misrecognition of 'f' and 's' characters, such as 'fuch' → 'such' and 'faid' → 'said'.
  • For ambiguous cases like 'timeas', the tool proposed 'times' based on language model scoring, though human review was required, highlighting the need for transparency.
  • The tool struggled with complex or rare words like 'fignification', which were not corrected, and occasionally made incorrect substitutions, such as 'Deputy-Governor' → 'Ex-Governor'.
  • The system demonstrated effectiveness in correcting word-initial and word-internal errors, particularly in high-frequency function words like 'shall'.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.