Published May 22, 2025 | Version v1

Hunpoem_meter_analyzer: A Tool for Detecting Meter in Hungarian Poetry

Authors/Creators

  • 1. ROR icon Eötvös Loránd University

Description

The Python program Hunpoem_meter_analyzer recognizes both Hungarian quantitative and qualitative meters. It categorizes poems as dactylic, anapestic, trochaic, or iambic, and provides a regularity score between 0 and 1, indicating how consistently the poem's rhythm follows the recognized abstract quantitative meter. In addition, the program identifies qualitative meters that have an "aaaa..." or "abab..." structure.

The input to the program is the level3_without_meter TEI XML files from the ELTE Poetry Corpus, which contain syllable length annotations for each line. To use the program, see the documentation in the Python file.

The file evaluation_based_on_Szepes_Szerdahelyi.tsv contains evaluation data based on the example poems from the book Verstan by Erika Szepes and István Szerdahelyi, published in 1981.

Files

README.md

Files (50.0 kB)

Name Size Download all
md5:f55285d6b904636d32ee7b8991f1a12c
8.6 kB Download
md5:ff033c257f375143d40815037a8f5d83
40.4 kB Download
md5:555d8befe14e6eecdc9c8eaa0da4cf44
1.0 kB Preview Download

Additional details

Software

Programming language
Python