EMNLP Findings2022
A Benchmark and Dataset for Post-OCR text correction in Sanskrit
Ayush Maheshwari, Nikhil Singh, Amrith Krishna, Ganesh Ramakrishnan
Abstract
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.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Lune answers from
the full paper · 1 top-tier paper that cites it · related work
Free to start. No credit card required.
Cited by top-tier papers1
Builds on3
- Autoregressive Entity RetrievalNicola De Cao, Gautier Izacard, Sebastian Riedel, Fabio PetroniICLR 2021 · 200 citations
- IndicBART: A Pre-trained Model for Indic Natural Language GenerationRaj Dabre, Himani Shrotriya, Anoop Kunchukuttan, Ratish Puduppully et al.ACL Findings 2022 · 82 citations
- Automatic Speech Recognition in Sanskrit: A New Speech Corpus and Modelling InsightsDevaraja Adiga, Rishabh Kumar, Amrith Krishna, Preethi Jyothi et al.ACL Findings 2021 · 24 citations
Related papers
- One Model is All You Need: ByT5-Sanskrit, a Unified Model for Sanskrit NLP TasksSebastian Nehrdich, Oliver Hellwig, Kurt KeutzerEMNLP Findings 2024 · 12 citations
- Part-of-speech Tagging for Extremely Low-resource Indian LanguagesSanjeev Kumar, Preethi Jyothi, Pushpak BhattacharyyaACL Findings 2024 · 3 citations
- PreP-OCR: A Complete Pipeline for Document Image Restoration and Enhanced OCR AccuracyShuhao Guan, Moule Lin, Cheng Xu, Xinyi Liu et al.ACL 2025
- Detecting Erroneously Recognized Handwritten Byzantine TextJohn Pavlopoulos, Vasiliki Kougia, Paraskevi Platanou, Holger EsslerEMNLP Findings 2023 · 1 citation
- TransLIST: A Transformer-Based Linguistically Informed Sanskrit TokenizerJivnesh Sandhan, Rathin Singha, Narein Rao, Suvendu Samanta et al.EMNLP Findings 2022 · 11 citations
