arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.07980cs.CL
收藏

用于梵文OCR后文本校正的基准和数据集

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

Indian Institute of Technology Bombay(印度理工学院孟买分校);Uniphore(Uniphore公司)

Ayush Maheshwari, Nikhil Singh, Amrith Krishna, Ganesh Ramakrishnan

摘要:

梵语是一种古典语言,大约有3000万份适合数字化的现存手稿,以书面,印刷或扫描图像形式提供。然而,当涉及到可用的数字资源时,它仍然被认为是一种低资源语言。在这项工作中,我们发布了一个OCR后文本校正数据集,包含来自30本不同书籍的约218,000个句子,150万个单词。梵语的文本在语言和风格上的使用是多样的,因为梵语是印度次大陆大约3000年来的“通用语”。考虑到这一点,我们发布了一个多领域的数据集,来自天文学,医学和数学等不同领域,其中一些可以追溯到18世纪。此外,我们基于预先训练的Seq2Seq语言模型发布多个强基线作为任务的基准。我们发现,我们的表现最好的模型,包括字节级标记结合语音编码(字节5 +SLP1),产生了23%的点增加OCR输出的单词和字符的出错率。此外,我们进行了广泛的实验,在评估这些模型的性能和分析常见的原因,在字形和词汇水平的预测失误。我们的代码和数据集可在https://github.com/ayushbits/pe-ocr-sanskrit上公开获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑