Lexically Aware Semi-Supervised Learning for OCR Post-Correction

Shruti Rijhwani, Daisy Rosenblum, Antonios Anastasopoulos, Graham Neubig
11/4/2021
cs.CL

Official code: shrutirij/ocr-post-correction (141 stars, Python, last commit 2024-03-05).

Abstract

Much of the existing linguistic data in many languages of the world is locked away in non-digitized books and documents. Optical character recognition (OCR) can be used to produce digitized text, and previous work has demonstrated the utility of neural post-correction methods that improve the results of general-purpose OCR systems on recognition of less-well-resourced languages.

Show full abstract

However, these methods rely on manually curated post-correction data, which are relatively scarce compared to the non-annotated raw images that need to be digitized. In this paper, we present a semi-supervised learning method that makes it possible to utilize these raw images to improve performance, specifically through the use of self-training, a technique where a model is iteratively trained on its own outputs. In addition, to enforce consistency in the recognized vocabulary, we introduce a lexically-aware decoding method that augments the neural post-correction model with a count-based language model constructed from the recognized texts, implemented using weighted finite-state automata (WFSA) for efficient and effective decoding. Results on four endangered languages demonstrate the utility of the proposed method, with relative error reductions of 15-29%, where we find the combination of self-training and lexically-aware decoding essential for achieving consistent improvements. Data and code are available at https://shrutirij.github.io/ocr-el/.

View on arXivView PDF

Code Implementations(1)

14119Python, ShellApr 1, 20212 years agoNOASSERTION

Similar Papers

Cite this paper

@article{rijhwani2021lexically,
  title  = {Lexically Aware Semi-Supervised Learning for OCR Post-Correction},
  author = {Shruti Rijhwani and Daisy Rosenblum and Antonios Anastasopoulos and Graham Neubig},
  year   = {2021},
  eprint = {2111.02622},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.02622}
}

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/2111.02622.svg)](https://codeofpaper.com/paper/2111.02622)

Discussion