Post-OCR Document Correction with large Ensembles of Character Sequence-to-Sequence Models

Juan Ramirez-Orta, Eduardo Xamena, Ana Maguitman, Evangelos Milios, Axel J. Soto
9/13/2021
cs.CL

Official code: jarobyte91/post_ocr_correction (39 stars, Jupyter Notebook, MIT, last commit 2023-12-02).

Abstract

In this paper, we propose a novel method based on character sequence-to-sequence models to correct documents already processed with Optical Character Recognition (OCR) systems. The main contribution of this paper is a set of strategies to accurately process strings much longer than the ones used to train the sequence model while being sample- and resource-efficient, supported by thorough experimentation.

Show full abstract

The strategy with the best performance involves splitting the input document in character n-grams and combining their individual corrections into the final output using a voting scheme that is equivalent to an ensemble of a large number of sequence models. We further investigate how to weigh the contributions from each one of the members of this ensemble. We test our method on nine languages of the ICDAR 2019 competition on post-OCR text correction and achieve a new state-of-the-art performance in five of them. Our code for post-OCR correction is shared at https://github.com/jarobyte91/post_ocr_correction.

View on arXivView PDF

Code Implementations(1)

MIT

Source code for the paper "Post-OCR Document Correction with Large Ensembles of Character Sequence-to-Sequence Models"

395Jupyter Notebook, PythonJul 29, 20213 years agoMIT
deep-learningocr-correctionsequence-to-sequence

Similar Papers

Cite this paper

@article{ramirezorta2021postocr,
  title  = {Post-OCR Document Correction with large Ensembles of Character Sequence-to-Sequence Models},
  author = {Juan Ramirez-Orta and Eduardo Xamena and Ana Maguitman and Evangelos Milios and Axel J. Soto},
  year   = {2021},
  eprint = {2109.06264},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.06264}
}

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

Discussion