Indian Flag
Government Of India
A-
A
A+
ORGANISATION
A Benchmark and Dataset for Post-OCR text correction in Sanskrit

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

Sanskrit OCR and ground truth

About Dataset

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

Activity Overview Activity Overview

  • Downloads3
  • Downloads 197
  • File Size 271.76 MB
  • Views 2,680

Tags Tags

  • Sanskrit
  • Indic language
  • OCR
  • Indian-education
  • text-correction

License Control License Control

CC0 1.0 Public Domain

pe-ocr-sanskrit-main ( 9 files, 4 directories )


Directory
dev-transliterate-scripts

3 files

Directory
OCR-Images-Annotation

7 directories

Directory
preds

2 files

Directory
train-scripts

4 files

undefined
.gitignore

1.78 KB

undefined
metrics.py

1.70 KB

text/csv
ood-test.csv

124.49 KB

text/markdown
README.md

1.51 KB

text/csv
test_devnagari.csv

1.73 MB

text/csv
train_devnagari.csv

72.23 MB

This preview shows 10 out of 13 items. Load more

Data Quality Score BetaData Quality Score Beta

Version Control Version Control

FolderVersion 1(271.76 MB)
  • admin·1 year(s) ago
    • chevron_rightFolder
      pe-ocr-sanskrit-main
      • chevron_rightFolder
        dev-transliterate-scripts
      • chevron_rightFolder
        OCR-Images-Annotation
      • chevron_rightFolder
        preds
      • chevron_rightFolder
        train-scripts
      • undefined
        .gitignore
      • undefined
        metrics.py
      • text/csv
        ood-test.csv
      • text/markdown
        README.md
      • text/csv
        test_devnagari.csv
      • text/csv
        train_devnagari.csv
      • more_horiz 3 more