LeggoManzoni: a TEI Model for an Automated Alignment of Comments and Translations of The Betrothed
DOI:
https://doi.org/10.60923/issn.2532-8816/25625Keywords:
Alessandro Manzoni, automatic alignment, XML-TEI, digital edition, AIUCD2025Abstract
This article examines how different types of textual alignment can be represented in a common TEI model, using LeggoManzoni, a digital scholarly edition of Alessandro Manzoni's I promessi sposi, as a case study. The project brings together forty commented editions and fourteen translations in ten languages, all referenced to the 1840–42 Quarantana.
The model assigns persistent identifiers to the word tokens of the Italian source text and uses stand-off references to link independently encoded commentaries and translations to the corresponding passages. Commentary notes are aligned through flexible text matching, while translations are aligned at sentence level with Bertalign and LaBSE embeddings. Both workflows include expert validation.
In the expanded commentary corpus, 1,482 of 23,753 notes (6.2%) required alignment correction. For the twelve complete translations, comparison of the original Bertalign output with the reviewed corpus showed 92.1% exact alignments, 4.5% valid but coarser alignments, and 3.4% erroneous alignments across 95,255 alignment units.
Using the same source-token identifiers for both types of material allows commentary notes and translation segments to be retrieved and compared without imposing a common segmentation on the documents. The article describes the TEI representation, the alignment procedures, their evaluation, and their use in the LeggoManzoni reading and comparison interfaces.
References
Barbarino, Liborio Pietro, Elisa Conti, Christian D’Agata, Miryam Grasso, Ninna Maria Lucia Martines, and Eliana Vitale. 2024. “Verismo digitale. Per un’edizione digitale commentata delle opere di Verga, Capuana, De Roberto.” In Me.Te. Digitali. Mediterraneo in rete tra testi e contesti. Proceedings of the 13th Annual Meeting of AIUCD 2024, edited by Antonio Di Silvestro and Daria Spampinato, 252–259. AIUCD.
Bodrova, Alina. 2025. “Censoring The Betrothed by A. Manzoni, in the Context of the Social History of Literary Works in Translation.” Russkaya Literatura 2: 126–39. https://doi.org/10.31860/0131-6095-2025-2-126-139.
Bricchi, Mariarosa. 2012. “La fortuna editoriale dei Promessi sposi.” In Atlante della letteratura italiana, vol. 3, Dal Romanticismo a oggi, edited by Domenico Scarpa. Einaudi.
De Rienzo, Giorgio, Egidio Del Boca, and Sandro Orlando. 1985. Concordanze dei Promessi sposi. Mondadori.
Feng, Fangxiaoyu, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, and Wei Wang. 2022. “Language-agnostic BERT sentence embedding.” In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, vol. 1, Long Papers, edited by Smaranda Muresan, Preslav Nakov, and Aline Villavicencio. Association for Computational Linguistics. https://doi.org/10.18653/v1/2022.acl-long.62.
Fiormonte, Domenico. 2018. Per una critica del testo digitale. Letteratura, filologia e rete. Bulzoni.
Frare, Pierantonio, and Giovanni Iamartino, eds. 2025. Alessandro Manzoni: le sue opere nel mondo. Atti del Convegno internazionale (Milano, 16 novembre 2023). Franco Angeli.
Gigliozzi, Giuseppe. 1997. Il testo e il computer. Manuale di informatica per gli studi letterari. Mondadori.
Lazzerini, Federica, and Matteo Di Franco. 2026. “Creating a digital critical edition of a classical text with XML/TEI.” Umanistica digitale 10 (23): 247–261. http://doi.org/10.60923/issn.2532-8816/23486.
Levchenko, Mariia. 2024. “Automatic Translation Alignment Pipeline for Multilingual Digital Editions of Literary Works.” In Proceedings of the Computational Humanities Research Conference 2024 (Aarhus, Denmark, December 4-6 2024), edited by Wouter Haverals, Marijn Koolen and Laure Thompson. CEUR-WS. https://ceur-ws.org/Vol-3834/paper128.pdf
Levchenko, Mariia, Giulia Menna, and Beatrice Nava. 2024. “LeggoManzoni. Quaranta commenti alla Quarantana.” In Manzoni e Leopardi in digitale. Idee e proposte per la scuola, edited by Ersilia Russo. Clueb.
Liu, Lei, and Min Zhu. 2023. “Bertalign: Improved word embedding-based sentence alignment for Chinese–English parallel corpora of literary texts.” Digital Scholarship in the Humanities 38 (2): 621–634. https://doi.org/10.1093/llc/fqac089.
Mancinelli, Tiziana, and Elena Pierazzo. 2020. Che cos’è un’edizione scientifica digitale. Roma: Carocci.
Mancinelli, Tiziana, Hansmichael Hohenegger, Federico Boschetti, Angelo Mario Del Grosso, Eleonora De Longis, and Gloria Mugelli. 2025. “Modellazione, interoperabilità e riuso in DiScEPT.” In Diversity, Equity, and Inclusion: Challenges and Opportunities for Digital Humanities in the Age of Artificial Intelligence. Proceedings of the XIV Annual Conference AIUCD 2025, edited by Simone Rebora, Marco Rospocher, and Stefano Bazzaco, 314–318. AIUCD.
Marranchino, Carmela. 2021. “Alessandro Manzoni in Other Languages.” New Italian Books, September 13. https://www.newitalianbooks.it/in-other-languages/alessandro-manzoni-in-other-languages/.
Martignano, Chiara. 2026. DSETools (Catalogue of Software Tools for Digital Scholarly Editing). Zenodo, 12 January 2026. https://doi.org/10.5281/zenodo.18211572.
Muñiz Muñiz, María de las Nieves. 2025. “Manzoni in Spagna (1823–2023): Diagramma di un processo carsico.” In Alessandro Manzoni: le sue opere nel mondo. Atti del Convegno internazionale (Milano, 16 novembre 2023), edited by Pierantonio Frare and Giovanni Iamartino. Franco Angeli.
Obbiso, Sara, and Matilde Passafaro. 2024. “Vedo Manzoni. Percorsi didattici attraverso le illustrazioni della Quarantana.” In Manzoni e Leopardi in digitale. Idee e proposte per la scuola, edited by Ersilia Russo. Clueb.
Palladino, Chiara, Maryam Foradi, and Tariq Yousef. 2021. “Translation Alignment for Historical Language Learning: a Case Study.” Digital Humanities Quarterly 15 (3).
Qi, Peng, Yuhao Zhang, Yuhui Zhang, Jason Bolton, and Christopher D. Manning. 2020. “Stanza: A Python Natural Language Processing Toolkit for Many Human Languages.” In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, 101–108.
Pozzo, Riccardo, Timon Gatta, Hansmichael Hohenegger, Jonas Kuhn, Axel Pichler, Marco Turchi, and Josef van Genabith. 2022. “Aligning Immanuel Kant’s Work and its Translations.” In CLARIN: The Infrastructure for Language Resources, edited by Darja Fišer and Andreas Witt, 727–746. Berlin/Boston: De Gruyter. https://doi.org/10.1515/9783110767377-029.
Sprugnoli, Rachele, and Marco Sartor. 2023. “‘That branch of the Lake of Como...’: Developing a New Resource for the Analysis of I Promessi Sposi and its Historical Translations.” In Proceedings of the Ninth Italian Conference on Computational Linguistics (CLiC-it 2023), 420–426. CEUR Workshop Proceedings.
TEI Consortium. 2026. TEI P5: Guidelines for Electronic Text Encoding and Interchange. Version 4.12.0.
Tomasi, Francesca. 2010. “Rappresentare e conservare.” In L’umanista digitale, edited by Teresa Numerico, Domenico Fiormonte and Francesca Tomasi. il Mulino.
Tomasi, Francesca. 2016. “Edizioni o archivi digitali? Knowledge sites e apporti disciplinari.” In Edizioni Critiche Digitali Digital Critical Editions: Edizioni a confronto / Comparing Editions, edited by Claudia Bonsi and Paola Italia. Sapienza Università Editrice. https://doi.org/10.13133/9788893770033.
Yousef, Tariq. 2019. “Ugarit: Translation Alignment Visualization.” In LEVIA’19: Leipzig Symposium on Visualization in Applications 2019. Leipzig.
Yousef, Tariq, and Stefan Jänicke. 2021. “A Survey of Text Alignment Visualization.” IEEE Transactions on Visualization and Computer Graphics 27 (2): 1149–1159. https://doi.org/10.1109/TVCG.2020.3028975.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Mariia Levchenko, Beatrice Nava, Ersilia Russo

This work is licensed under a Creative Commons Attribution 4.0 International License.