arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.00527cs.CLcs.DLcs.LG
收藏

保加利亚历史文献的OCR后文本校正

Post-OCR Text Correction for Bulgarian Historical Documents

AWS AI Labs(亚马逊云科技人工智能实验室);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Angel Beshirov, Milena Dobreva, Dimitar Dimitrov, Momchil Hardalov, Ivan Koychev, Preslav Nakov

AI总结:

本文针对19世纪保加利亚历史文献的OCR后文本校正问题,构建首个基准数据集,提出利用当代文本生成合成数据并结合大语言模型与改进的编码器-解码器框架,使校正质量较现有最优方法提升16%。

摘要:

历史文献的数字化对于保存社会文化遗产至关重要。这一过程中的一个重要步骤是使用光学字符识别(OCR)将扫描图像转换为文本,从而支持进一步的搜索、信息提取等任务。然而,这是一个困难的问题,因为标准OCR工具并不适合处理历史正字法以及复杂的版面布局。因此,在处理此类文献时,通常需要对OCR输出施加额外的文本校正步骤。在本工作中,我们聚焦于保加利亚语,并创建了首个基准数据集,用于评估以第一种标准化保加利亚正字法——19世纪的德里诺夫正字法书写的历史保加利亚文献的OCR文本校正。我们进一步开发了一种方法,通过利用大量当代保加利亚文学文本,自动生成该正字法以及随后的伊万切夫正字法的合成数据。然后,我们使用最先进的大语言模型(LLMs)和编码器-解码器框架,并辅以对角注意力损失以及复制和覆盖机制来改进OCR后文本校正。所提出的方法减少了识别过程中引入的错误,并将文献质量提高了25%,与ICDAR 2019保加利亚数据集上的最先进方法相比提升了16%。我们在\url{https://github.com/angelbeshirov/post-ocr-text-correction}发布了数据和代码。

英文摘要:

The digitization of historical documents is crucial for preserving the cultural heritage of the society. An important step in this process is converting scanned images to text using Optical Character Recognition (OCR), which can enable further search, information extraction, etc. Unfortunately, this is a hard problem as standard OCR tools are not tailored to deal with historical orthography as well as with challenging layouts. Thus, it is standard to apply an additional text correction step on the OCR output when dealing with such documents. In this work, we focus on Bulgarian, and we create the first benchmark dataset for evaluating the OCR text correction for historical Bulgarian documents written in the first standardized Bulgarian orthography: the Drinov orthography from the 19th century. We further develop a method for automatically generating synthetic data in this orthography, as well as in the subsequent Ivanchev orthography, by leveraging vast amounts of contemporary literature Bulgarian texts. We then use state-of-the-art LLMs and encoder-decoder framework which we augment with diagonal attention loss and copy and coverage mechanisms to improve the post-OCR text correction. The proposed method reduces the errors introduced during recognition and improves the quality of the documents by 25\%, which is an increase of 16\% compared to the state-of-the-art on the ICDAR 2019 Bulgarian dataset. We release our data and code at \url{https://github.com/angelbeshirov/post-ocr-text-correction}.}

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

↑