Communication Dans Un Congrès Année : 2026

Automatic Metrical Scansion of Poetry in a Low-Resource Setting

Résumé

We present the first neural systems for automatic metrical scansion of poetry in Galician, a Romance language close to Portuguese and Spanish. The task is threefold: First, identifying metrical syllables based on lexical ones; both syllable series may differ given metrical licenses modifying a line's syllable structure to enable stress-related rhythms. Second, identifying stress patterns, and third identifying the metrical syllable count, based on stressed positions. We manually annotated a corpus of 4,287 examples, a first in Galician, and fine-tuned an 8B-parameter LLM specialized in Galician and Portuguese, and two encoder-decoder models: ByT5, a token-free byte-to-byte model, and the multilingual mT5, which includes Galician. We also tested our recent symbolic scansion system. Several fine-tuning setups reached exact per-line accuracy above 90% on our test-set at all three scansion subtasks, using orthographic syllables with explicit stress marks as input. Encoder-decoders performed better than the LLM. The token-free ByT5 was best, particularly when adding the two surrounding lines to the input. The symbolic system (89.9% acc.) managed rare metaplasms infrequent in training data better than the neural ones, and the approaches can be seen as complementary.

Fichier principal
Vignette du fichier
ruiz_scansion_llms4ssh_2026_hal.pdf (260.71 Ko) Télécharger le fichier

Dates et versions

hal-05603079 , version 1 (27-04-2026)

Licence

Identifiants

Citer

Pablo Ruiz Fabo, Anxo Alonso Pérez, Pablo Rodríguez Fernández, Pablo Gamallo. Automatic Metrical Scansion of Poetry in a Low-Resource Setting. LLMs4SSH @LREC 2026: Shaping Multilingual, Multimodal AI for the Social Sciences and Humanities, May 2026, Palma de Mallorca, Spain. ⟨10.5281/zenodo.19701641⟩. ⟨hal-05603079⟩
0 Consultations
0 Téléchargements

Altmetric

Partager

  • More