International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece
Time: Sunday, 25.10
Room: Room 4
Authors: Omayma El Haji
Abstract: they reliably recognize Latin script, they continue to struggle noticeably with Arabic. Typically, this cross-script disparity is summarized by a single error rate, which doesn't reveal which script elements are failing or how to effectively correct them. In this paper, we investigate two primary approaches: training the model to improve its Arabic recognition capabilities, or post-processing its output using language models. However, these approaches have rarely been evaluated in a direct, side-by-side comparison. Our study aims to address this gap by evaluating both approaches on identical Arabic text using a detailed error metric that distinguishes recognition errors across different linguistic layers. Specifically, the proposed metric decomposes errors into rasm (the letter skeleton), i'jam (the dots that distinguish letters such as ث, ت, and ب), and tashkeel (diacritics). This transforms the typical question of which model scores better overall performance into a more diagnostic analysis of which linguistic layers each approach successfully corrects, where it fails, and whether downstream correction introduces confident but otherwise hidden errors. To achieve this objective, we first used QARI-OCR, an open Arabic recognizer, and then Qwen2.5 as corrector, trained on general instructions. We assessed its capabilities using a contemporary handwriting: KHATT, then historical archival manuscripts: Muharaf/MOJ-DB, besides IAM as benchmark Latin dataset. This comprehensive evaluation helps us understand how well it performs under various conditions. Following the analysis, we provide our approach as reusable low-code building blocks (SIB Blocks) on the WAVE platform. This further advances this research by allowing non-experts to create Arabic document workflows without writing code. Consequently, this will lower the barrier to entry for OCR with non-Latin scripts. Therefore, the proposed implementation supports wider use in sectors like cultural heritage, digital humanities, legal and administrative archives, and education, which heavily depend on processing Arabic documents. Ultimately , by combining a layer-aware diagnostic metric, with a composable low-code interface, our work seeks to improve both the accuracy and accessibility of Arabic OCR, contributing to the broader goal of democratizing document recognition beyond languages that are already well supported.