[Paper Review] OCR Post-Processing Error Correction Algorithm using Google Online Spelling Suggestion
This paper proposes a context-aware OCR post-processing error correction algorithm that leverages Google's online spelling suggestion service to detect and correct both non-word and real-word OCR errors. By utilizing Google's extensive web-indexed word database, the method significantly improves OCR output accuracy, demonstrating a measurable reduction in error rates through empirical evaluation.
With the advent of digital optical scanners, a lot of paper-based books, textbooks, magazines, articles, and documents are being transformed into an electronic version that can be manipulated by a computer. For this purpose, OCR, short for Optical Character Recognition was developed to translate scanned graphical text into editable computer text. Unfortunately, OCR is still imperfect as it occasionally mis-recognizes letters and falsely identifies scanned text, leading to misspellings and linguistics errors in the OCR output text. This paper proposes a post-processing context-based error correction algorithm for detecting and correcting OCR non-word and real-word errors. The proposed algorithm is based on Google's online spelling suggestion which harnesses an internal database containing a huge collection of terms and word sequences gathered from all over the web, convenient to suggest possible replacements for words that have been misspelled during the OCR process. Experiments carried out revealed a significant improvement in OCR error correction rate. Future research can improve upon the proposed algorithm so much so that it can be parallelized and executed over multiprocessing platforms.
Motivation & Objective
- To address persistent OCR errors in digitized text, particularly non-word and real-word misspellings.
- To develop a context-sensitive error correction approach that enhances OCR output quality.
- To leverage external linguistic resources—specifically Google's online spelling suggestions—for improved correction accuracy.
- To evaluate the effectiveness of integrating web-scale language models into OCR post-processing pipelines.
Proposed method
- The algorithm processes OCR-generated text by identifying potential errors through lexical and contextual analysis.
- It queries Google's online spelling suggestion API to retrieve candidate corrections for suspected misspelled words.
- Candidate replacements are ranked based on frequency and relevance from Google's web-indexed corpus.
- The system applies context-aware filtering to select the most plausible correction among suggestions.
- The method distinguishes between non-word errors (invalid tokens) and real-word errors (correct-looking but incorrect words).
- Correction decisions are made by comparing candidate suggestions against surrounding context to ensure linguistic coherence.
Experimental results
Research questions
- RQ1Can Google's online spelling suggestion service effectively correct OCR-induced non-word and real-word errors?
- RQ2How does context-aware selection of Google's suggested corrections improve OCR output quality?
- RQ3What is the impact of using a large-scale, web-derived word database on OCR post-processing accuracy?
- RQ4To what extent can external language models enhance error correction beyond basic dictionary lookups?
Key findings
- The proposed algorithm significantly reduces OCR error rates by leveraging Google's extensive web-indexed vocabulary and phrase database.
- The integration of context-aware filtering with Google's suggestions leads to higher precision in correction selection.
- The method demonstrates improved performance over traditional dictionary-based correction techniques.
- Experiments confirm that real-word errors—common in OCR—can be effectively corrected using web-scale language models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.