Skip to content
Preprint

HPMD: A Historical Persian Manuscript Dataset for Word Spotting with Line-Level Annotation

Sep 2026 · 0 citations · 18 references
Computer Science

TL;DR

This paper introduces a new dataset of 223 pages, 3,678 lines, 37,631 words, and 130,630 characters, collected from diverse historical Persian books of poetry and prose and annotated at the region, line, and text level and proposes a baseline that is trained only with line-level annotations but returns word-level locations.

Abstract

Large collections of historical Persian manuscripts have been digitized, but searching them is still slow and mostly manual. Historians usually want to find where a specific name, date, event, or topic appears, which is a word spotting problem. Progress on this task is limited by two things. First, there is almost no public dataset of historical Persian handwriting; the only notable resource, OpenITI MAKHZAN, contains a relatively small Persian portion. Second, word spotting models usually need word-level bounding boxes, which are very expensive to annotate. In this paper we introduce a new dataset of 223 pages, 3,678 lines, 37,631 words, and 130,630 characters, collected from diverse historical Persian books of poetry and prose and annotated at the region, line, and text level. We also propose a baseline that is trained only with line-level annotations but returns word-level locations. A fine-tuned line detector finds text lines, and a fine-tuned CRNN recognizer trained with CTC produces a frame-by-character posterior matrix for each line. Instead of decoding the most probable character at each frame, the query is scored directly against this matrix, so visually similar characters in Persian such as be and pe no longer cause hard failures. The frame alignment also gives the horizontal position of the word inside the line. On the test set, the fine-tuned line detector reaches an F1 of 0.892, and posterior-based search raises the word spotting F1 from 0.487 to 0.558 compared with exact matching on the decoded text, with the decision threshold selected on a held-out validation set. A PHOC attribute-embedding baseline that additionally receives oracle word boundaries at test time reaches an F1 of 0.449, below the proposed method. We also report a distributional analysis of the dataset, a taxonomy of retrieval errors, and a per-conditionbreakdown of performance.

View source

Similar papers

Open access 2026

AN EFFICIENT WORD-SPOTTING MODEL FOR GUJARATI LANGUAGE USING OPTIMIZATION DRIVEN DEEP LEARNING TECHNIQUE

Digitization of historical handwritten documents is highly preferable as it provides access to a wide range of documents to huge users. But, the information retrieval from such documents is a tough task as it requires full-text search. Word spotting is a process or retrieving the content from such documents based on a...

Bijal Dalwadi, Vatsal Shah · 0 citations
Book Open access Oct 2026

TURATH: An AI Platform for Transcribing, Translating, and Indexing Historical Handwritten Archives

TURATH (Arabic: تراث, “heritage”) is an open-access web platform that combines large language models with domain-specific glossaries, structured extraction schemas, and human-in-the-loop review to transcribe, translate, and index historical handwritten documents. TURATH allows researchers to configure a collection-spec...

A. Amin · 0 citations
#natural language process... Preprint Oct 2026

Neural POS Tagging for the Low-Resource Saraiki

The dataset, evaluation setup, and baseline results introduced in this work provide a benchmark for future research on Saraiki NLP and low-resource sequence labeling.

Usman Nawaz, Muhammad Junaid Iqbal, M. Asaf et al. · 0 citations
Review Open access Sep 2026

Audio wordlists as a basis for a lexicographic database (using Evenki, Selkup, and Ket data)

The article presents a possible way of developing a lexicographic database from audio-recorded wordlists collected in the field as part of the documentation of three endangered Siberian languages: Selkup, Ket, and Evenki. During more than two decades of fieldwork (2001-2025), we have accumulated extensive audio materia...

Elena Klyachko, O. Kazakevich · 0 citations
Conference Open access Sep 2026

Evaluating Subword Tokenization Algorithms for Kapampangan Natural Language Processing

Effective tokenization is a foundational component of Large Language Model (LLM) development, yet it remains an open challenge for morphologically rich, lowresource languages such as Kapampangan. This paper presents a systematic evaluation of Byte-Pair Encoding (BPE) and the Unigram Language Model for Kapampangan, an u...

Harwin C. Mendoza, Edward Allen B. Manaloto, Aaron John V. Castañeda et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.