Hostname: page-component-76d6cb85b7-lcgwf Total loading time: 0 Render date: 2026-07-10T21:35:25.276Z Has data issue: false hasContentIssue false

Metronome: tracing variation in poetic meters via local sequence alignment

Published online by Cambridge University Press:  25 June 2025

Ben Nagy
Affiliation:
Institute of Polish Language, Polish Academy of Sciences (IJP PAN), Krakow, Poland
Artjoms Šeļa
Affiliation:
Institute of Polish Language, Polish Academy of Sciences (IJP PAN), Krakow, Poland Institute of Czech Literature, Czech Academy of Sciences, Prague, Czechia
Mirella De Sisto*
Affiliation:
Tilburg School of Humanities and Digital Sciences, Tilburg University, Tilburg, The Netherlands
Petr Plecháč
Affiliation:
Institute of Czech Literature, Czech Academy of Sciences, Prague, Czechia
*
Corresponding author: Mirella De Sisto; Email: M.DeSisto@tilburguniversity.edu
Rights & Permissions [Opens in a new window]

Abstract

All poetic forms come from somewhere. Prosodic templates can be copied for generations, altered by individuals, imported from foreign traditions, or fundamentally changed under the pressures of language evolution. Yet, these relationships are notoriously difficult to trace across languages and times. This article introduces an unsupervised method for detecting structural similarities in poems using local sequence alignment. The method relies on encoding poetic texts as strings of prosodic features using a four-letter alphabet; these sequences are then aligned to derive a distance measure based on weighted symbol (mis)matches. Local alignment allows poems to be clustered according to emergent properties of their underlying prosodic patterns. We evaluate method performance on a meter recognition tasks against strong baselines and show its potential for cross-lingual and historical research using three short case studies: (1) mutations in quantitative meter in classical Latin, (2) European diffusion of the Renaissance hendecasyllable and (3) comparative alignment of modern accentual-syllabic meters in 18–19th century Czech, German and Russian. We release an implementation of the algorithm as a Python package with an open license.

Information

Type
Short Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. Classification performance of Metronome vs SVM and two baseline alignment algorithms.Note: Smoothed distribution of accuracy results over 50 random subsamples, with median scores.

Figure 1

Figure 2. Cladogram of a selection of poems by Catullus. Carmen 55, while still composed in hendecasyllables, is visibly different to the rest of that clade.

Figure 2

Figure 3. A visual comparison of the metronome strings (formatted to add line breaks) for the beginning of Carmina 55 (variant with collapsed choriamb) and 41 (standard hendecasyllable).

Figure 3

Figure 4. A metronome-based cladogram of various samples of Renaissance meter.Note: The inset number is the entropy-based variability from the regular metrical form (see Šeļa and Gronas 2022). Shakespeare is the most regular, de La Torre the least.

Figure 4

Figure 5. UMAP cluster of 3222 poems in Czech, German and Russian from the PoeTree corpus, in the six most common European meters.Note: Metronome distance is used as the clustering metric.

Figure 5

Table A1. The bonus/penalty matrix for metronome symbol (mis)matches

Figure 6

Figure B1. Clustering of simulated pseudo-poems that represent five conditions of the alexandrine form: three syllabic and four accentual-syllabic.

Submit a response

Rapid Responses

No Rapid Responses have been published for this article.