Neural OCR Post-Hoc Correction of Historical Corpora

Lijun Lyu, Maria Koutraki, Martin Krickl, Besnik Fetahu
2/1/2021
cs.CL

Official code: GarfieldLyu/OCR_POST_DE (20 stars, Python, last commit 2022-08-29).

Abstract

Optical character recognition (OCR) is crucial for a deeper access to historical collections. OCR needs to account for orthographic variations, typefaces, or language evolution (i.e., new letters, word spellings), as the main source of character, word, or word segmentation transcription errors.

Show full abstract

For digital corpora of historical prints, the errors are further exacerbated due to low scan quality and lack of language standardization. For the task of OCR post-hoc correction, we propose a neural approach based on a combination of recurrent (RNN) and deep convolutional network (ConvNet) to correct OCR transcription errors. At character level we flexibly capture errors, and decode the corrected output based on a novel attention mechanism. Accounting for the input and output similarity, we propose a new loss function that rewards the model's correcting behavior. Evaluation on a historical book corpus in German language shows that our models are robust in capturing diverse OCR transcription errors and reduce the word error rate of 32.3% by more than 89%.

View on arXivView PDF

Code Implementations(1)

OCR post correction for old German corpus

201Python, Jupyter NotebookJan 21, 20214 years ago

Similar Papers

Cite this paper

@article{lyu2021neural,
  title  = {Neural OCR Post-Hoc Correction of Historical Corpora},
  author = {Lijun Lyu and Maria Koutraki and Martin Krickl and Besnik Fetahu},
  year   = {2021},
  eprint = {2102.00583},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.00583}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.00583.svg)](https://codeofpaper.com/paper/2102.00583)

Discussion