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

通过增强现有光学字符识别引擎使库尔德语旧出版物可被处理

Making Old Kurdish Publications Processable by Augmenting Available Optical Character Recognition Engines

University of Kurdistan Hewlêr(库尔德斯坦大学(赫尔墨斯))

Blnd Yaseen, Hossein Hassani

AI总结:

针对库尔德语历史印刷文档缺乏公开 OCR 数据、识别困难的问题,本文基于 Tesseract 5.0 构建 1233 张行图像数据集并微调 Arabic 模型,取得低 CER,并提供 Web 识别界面。

摘要:

库尔德语图书馆藏有许多历史出版物,它们印刷于印刷设备传入库尔德斯坦的早期。拥有良好的光学字符识别(OCR)系统来帮助处理这些出版物并充实库尔德语资源至关重要,因为库尔德语被认为是一种低资源语言。当前的 OCR 系统无法从历史文档中提取文本,原因是这些文档存在许多问题,包括破损、非常脆弱、留有大量痕迹,并且通常使用非标准字体等。这是处理这些文档的巨大障碍,因为目前处理它们需要人工录入,非常耗时。在本研究中,我们采用 Google 的开源 OCR 框架 Tesseract 5.0 版,该框架已被用于多种语言的文本提取。目前不存在公开数据集,因此我们通过从 Zheen 文献与研究中心收集 1950 年以前印刷的历史文档,自建了一个数据集,最终得到包含 1233 张行图像且每张图像均带有转写文本的数据集。随后,我们使用 Arabic 模型作为基础模型,并利用该数据集训练模型。我们采用不同方法评估模型:Tesseract 内置评估器 lstmeval 给出的字符错误率(CER)为 0.755%。此外,Ocreval 显示平均字符准确率为 84.02%。最后,我们开发了一个 Web 应用程序,为终端用户提供易于使用的界面,使其能够通过输入页面图像并提取文本的方式与模型交互。构建具有合理准确率的 OCR 系统必须拥有大规模数据集,而目前没有可用于库尔德语历史文档的公开数据集;这给我们的工作带来了重大挑战。此外,字符与单词之间未对齐的空格也是本工作面临的另一项挑战。

英文摘要:

Kurdish libraries have many historical publications that were printed back in the early days when printing devices were brought to Kurdistan. Having a good Optical Character Recognition (OCR) to help process these publications and contribute to the Kurdish languages resources which is crucial as Kurdish is considered a low-resource language. Current OCR systems are unable to extract text from historical documents as they have many issues, including being damaged, very fragile, having many marks left on them, and often written in non-standard fonts and more. This is a massive obstacle in processing these documents as currently processing them requires manual typing which is very time-consuming. In this study, we adopt an open-source OCR framework by Google, Tesseract version 5.0, that has been used to extract text for various languages. Currently, there is no public dataset, and we developed our own by collecting historical documents from Zheen Center for Documentation and Research, which were printed before 1950 and resulted in a dataset of 1233 images of lines with transcription of each. Then we used the Arabic model as our base model and trained the model using the dataset. We used different methods to evaluate our model, Tesseracts built-in evaluator lstmeval indicated a Character Error Rate (CER) of 0.755%. Additionally, Ocreval demonstrated an average character accuracy of 84.02%. Finally, we developed a web application to provide an easy- to-use interface for end-users, allowing them to interact with the model by inputting an image of a page and extracting the text. Having an extensive dataset is crucial to develop OCR systems with reasonable accuracy, as currently, no public datasets are available for historical Kurdish documents; this posed a significant challenge in our work. Additionally, the unaligned spaces between characters and words proved another challenge with our work.

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

↑