cs.CLNov 9, 2026

A Lattice-Based HMM Approach to Aruz Scansion of Ottoman Poetry

Authors: Mehmet Emre Tiryaki

Organizations: Johns Hopkins University

Abstract

Ottoman Divan poetry is composed in aruz, a quantitative meter based on the weights of syllables. The meter is sensitive to specific characters recorded in the original writing in the Arabic script. This work is concerned with automatic meter finding and scansion alignment for Ottoman Divan poetry, especially on modern Turkish spelling without the special diacritics that scholarly transliterations of Ottoman preserve. We define two tasks on this input, first identifying the meter used in the poem, and second aligning the meter's weights with the syllabification of the poem, identifying the flaws and freedoms the poet has taken along the way. We build a corpus of 52,000 lines split by poet, with scansion annotations for 500 test lines, and a robustness benchmark generated at the deviation rates measured on real web and OCR copies. Our model is a hidden Markov model over the positions of each meter, decoded over a lattice of every candidate path, and trained by EM from the printed meter, without scansion labels. On a held-out set it scans 77.6% of the test lines fully correctly, against 26.8% for the available rule-based scanner, 55.0% for a neural tagger trained with the same supervision and 63.6% for Claude Opus 5.5 few-shot. The code is open-sourced and the tool is released on the web.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Shaer: Controlled Arabic Poetry Generation with Meter Subform and Semantic Conditioning

    Oct 7, 2026Ahmad Abbas, Tamara Fakih, Nour Fakih +1Controllable Text GenerationArabic NLP

  2. From Volpiano to Pixels: 30,000 Lines of OMR Ground Truth for Medieval Chant

    Oct 12, 2026Robert KlugsederOptical Music Recognition