mlsanityData to 14 Oct 2026

A Benchmark and Dataset for Post-OCR text correction in Sanskrit

arXiv 2211.07980 ↗First posted 15 Nov 2022cs.CLcited by 10

Not on the map. Why?

Abstract (arXiv)

Sanskrit is a classical language with about 30 million extant manuscripts fit for digitisation, available in written, printed or scannedimage forms. However, it is still considered to be a low-resource language when it comes to available digital resources. In this work, we release a post-OCR text correction dataset containing around 218,000 sentences, with 1.5 million words, from 30 different books. Texts in Sanskrit are known to be diverse in terms of their linguistic and stylistic usage since Sanskrit was the 'lingua franca' for discourse in the Indian subcontinent for about 3 millennia. Keeping this in mind, we release a multi-domain dataset, from areas as diverse as astronomy, medicine and mathematics, with some of them as old as 18 centuries. Further, we release multiple strong baselines as benchmarks for the task, based on pre-trained Seq2Seq language models. We find that our best-performing model, consisting of byte level tokenization in conjunction with phonetic encoding (Byt5+SLP1), yields a 23% point increase over the OCR output in terms of word and character error rates. Moreover, we perform extensive experiments in evaluating these models on their performance and analyse common causes of mispredictions both at the graphemic and lexical levels. Our code and dataset is publicly available at https://github.com/ayushbits/pe-ocr-sanskrit.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 13 of its 31 references that are in the map. First posted on arXiv 15 Nov 2022.

Builds on

13 of 31 references.

References · 13

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  3. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
  4. 2020Multilingual Denoising Pre-training for Neural Machine Translationcited by 1,035
  5. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  6. 2020Autoregressive Entity Retrievalcited by 334
  7. 2020Multilingual Translation with Extensible Multilingual Pretraining and Finetuningcited by 287
  8. 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 218
  9. 2021Automatic Speech Recognition in Sanskrit: A New Speech Corpus and Modelling Insightscited by 14
  10. 2021Lexically Aware Semi-Supervised Learning for OCR Post-Correctioncited by 12
  11. 2018Upcycle Your OCR: Reusing OCRs for Post-OCR Text Correction in Romanised Sanskritcited by 7
  12. 2016Still not there? Comparing Traditional Sequence-to-Sequence Models to Encoder-Decoder Neural Networks on Monotone String Translation Taskscited by 6
1 more
  1. 2022UDAAN: Machine Learning based Post-Editing tool for Document Translationcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 4; 2026: 2.

10 papers.