---
title: "Robust Language Identification for Romansh Varieties (2026)"
description: "The authors build what they describe as the first documented LID system that tells all six varieties apart. 97% accuracy. 14 references."
authors: ["Charlotte Model", "Sina Ahmadi", "Jannis Vamvas"]
year: 2026
venue: "Proceedings of the 11th Edition of the Swiss Text Analytics Conference"
source: "https://aclanthology.org/2026.swisstext-1.9/"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/model-2026-robust-language-identification-romansh-varieties/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/model-2026-robust-language-identification-romansh-varieties/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2026](https://md.research.elamur.ai/free/en/papers/2026/page/48/) / Robust Language Identification for Romansh Varieties

# Robust Language Identification for Romansh Varieties

**Authors:** Charlotte Model, [Sina Ahmadi](https://md.research.elamur.ai/free/en/authors/sina-ahmadi/) and [Jannis Vamvas](https://md.research.elamur.ai/free/en/authors/jannis-vamvas/) · **Year:** 2026 · **Venue:** [Proceedings of the 11th Edition of the Swiss Text Analytics Conference](https://md.research.elamur.ai/free/en/venues/swisstext/) ([Edition of the Swiss Text Analytics Conference 2026](https://md.research.elamur.ai/free/en/venues/swisstext/2026/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/2026.swisstext-1.9/) · [PDF](https://aclanthology.org/2026.swisstext-1.9.pdf) · [OpenAlex](https://openalex.org/W7139138899)

**Citations:** 0 citations (OpenAlex, 2026-10-14)

## Summary

Romansh, spoken by roughly 40,000 people in the Swiss canton of Grisons, exists as five regional idioms (Sursilvan, Sutsilvan, Surmiran, Puter, Vallader) plus the supra-regional written standard Rumantsch Grischun (RG). Existing language identification tools either skip Romansh or treat it as one language. Current dictionary and spell-checking services also make users pick the idiom manually. The authors build what they describe as the first documented LID system that tells all six varieties apart. They combine five sources: the Pledari Grond dictionary, La Quotidiana news, RTR broadcast transcripts, RTR Telesguard newsroom notes and Mediomatix textbooks. These are cleaned, deduplicated and optionally masked for named entities using a SwissBERT-based NER model. They then compare linear scikit-learn classifiers on TF–IDF character and word n-grams. A tuned linear SVM performs best, averaging about 97% accuracy on in-domain test sets, though results drop clearly on out-of-domain data. The released classifier can route texts to idiom-specific tools such as spell checkers or machine translation. It also offers a template for other low-resource regional varieties.

## Key points

- **Data and splits:** The corpus has 487,172 samples, about 12.4M tokens. Training uses PG, LQ, RTR and TB. Evaluation uses four test sets: three in-domain (LQ, RTR, TB) and one out-of-domain (TG newsroom notes).
- **Model comparison:** The best SVM uses ℓ1 penalty, character 1–4-grams and word unigrams, reaching 97.1 macro F1 on the dev set. Logistic Regression reaches 96.8. Before tuning, the baselines scored only about 69–77 macro F1.
- **Scores across test sets:** Macro F1 reaches up to 98 on balanced in-domain data but falls to 69.1 on out-of-domain test-d.
- **Named-entity masking:** Masking has almost no effect on scores (≤0.1 F1 on most sets, 0.7 at most). This suggests the model relies on linguistic cues rather than memorised proper nouns.
- **Discriminative features:** Character n-grams carry the most signal. Two of the top features are artefacts that may not transfer to ordinary text:
  - underdotted stress markers in Puter/Vallader dictionary entries;
  - whitespace for RG, caused by class imbalance (≈171K RG samples versus 44K–86K for each other idiom).
- **Availability:** The code is at github.com/ZurichNLP/romansh-lid.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [University of Zurich](https://md.research.elamur.ai/free/en/universities/university-of-zurich/) — University, Zurich, Switzerland · 80 works · 12,260 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 17,965 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 17,450 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 17,296 works

🧭 Topics (1): [🧷 Idioms & multiword expressions](https://md.research.elamur.ai/free/en/topics/multiword-expressions/) · 222 works

## Cite

Cite as: Charlotte Model, Sina Ahmadi and Jannis Vamvas. 2026. Robust Language Identification for Romansh Varieties. Proceedings of the 11th Edition of the Swiss Text Analytics Conference.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{model2026robust,
  title = {{Robust Language Identification for Romansh Varieties}},
  author = {Charlotte Model, Sina Ahmadi and Jannis Vamvas},
  booktitle = {Proceedings of the 11th Edition of the Swiss Text Analytics Conference},
  year = {2026},
  url = {https://aclanthology.org/2026.swisstext-1.9/}
}
```

- [← previous Robust Explanations for User Trust in Enterprise NLP Systems](https://md.research.elamur.ai/free/en/papers/zhang-2026-robust-explanations-user-trust-enterprise/)
- [next → RoD-TAL: A Benchmark for Answering Questions in Romanian Driving License Exams](https://md.research.elamur.ai/free/en/papers/man-2026-rod-tal-benchmark-answering-questions/)
- [↑ back to papers of 2026](https://md.research.elamur.ai/free/en/papers/2026/page/48/)

## References

14 references, 1 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Noëmi Aepli, Antonios Anastasopoulos, Adrian-Gabriel Chifu, William Domingues, Fahim Faisal, Mihaela Gaman, Radu Tudor Ionescu, and Yves Scherrer. 2022. Findings of the VarDial evaluation campaign 2022. In Proceedings of the Ninth Workshop on NLP for Similar Languages, Varieties and Dialects, pages… [find](https://scholar.google.com/scholar?q=No%C3%ABmi+Aepli%2C+Antonios+Anastasopoulos%2C+Adrian%2DGabriel+Chifu%2C+William+Domingues%2C+Fahim+Faisal%2C+Mihaela+Gaman%2C+Radu+Tudor+Ionescu%2C+and+Yves+Scherrer%2E+2022%2E+Findings+of+the+VarDial+evaluation+campaign+202)
2. Stephen R. Anderson. 2016. Romansh (rumantsch). In Adam Ledgeway and Martin Maiden, editors, The Oxford Guide to the Romance Languages, pages 169– 184. Oxford University Press, Oxford. [find](https://scholar.google.com/scholar?q=Stephen+R%2E+Anderson%2E+2016%2E+Romansh+%28rumantsch%29%2E+In+Adam+Ledgeway+and+Martin+Maiden%2C+editors%2C+The+Oxford+Guide+to+the+Romance+Languages%2C+pages+169%E2%80%93+184%2E+Oxford+University+Press%2C+Oxford%2E)
3. Gabriel Bernier-colborne, Cyril Goutte, and Serge Leger. 2023. Dialect and variant identification as a multi-label classification task: A proposal based on near-duplicate analysis. In Tenth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial 2023), pages 142–151, Dubrovnik, Croati… [find](https://scholar.google.com/scholar?q=Gabriel+Bernier%2Dcolborne%2C+Cyril+Goutte%2C+and+Serge+Leger%2E+2023%2E+Dialect+and+variant+identification+as+a+multi%2Dlabel+classification+task%3A+A+proposal+based+on+near%2Dduplicate+analysis%2E+In+Tenth+Workshop+o)
4. Negar Foroutan, Jakhongir Saydaliev, Grace Kim, and Antoine Bosselut. 2026. ConLID: Supervised contrastive learning for low-resource language identification. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages… [find](https://scholar.google.com/scholar?q=Negar+Foroutan%2C+Jakhongir+Saydaliev%2C+Grace+Kim%2C+and+Antoine+Bosselut%2E+2026%2E+ConLID%3A+Supervised+contrastive+learning+for+low%2Dresource+language+identification%2E+In+Proceedings+of+the+19th+Conference+of+t)
5. Matthias Grünert. 2024. Rätoromanisch. In Elvira Glaser, Johannes Kabatek, and Barbara Sonnenhauser, editors, Sprachenräume der Schweiz. Band 1: Sprachen, pages 156–184. Narr Francke Attempto, Tübingen. [find](https://scholar.google.com/scholar?q=Matthias+Gr%C3%BCnert%2E+2024%2E+R%C3%A4toromanisch%2E+In+Elvira+Glaser%2C+Johannes+Kabatek%2C+and+Barbara+Sonnenhauser%2C+editors%2C+Sprachenr%C3%A4ume+der+Schweiz%2E+Band+1%3A+Sprachen%2C+pages+156%E2%80%93184%2E+Narr+Francke+Attempto%2C+T%C3%BCbinge)
6. Alejandro Hernández-Cano, Alexander Hägele, Allen Hao Huang, Angelika Romanou, Antoni-Joan Solergibert, Barna Pasztor, Bettina Messmer, Dhia Garbaya, Eduard Frank Ďurech, Ido Hakimi, Juan García Giraldo, Mete Ismayilzada, Negar Foroutan, Skander Moalla, Tiancheng Chen, Vinko Sabolčec, Yixuan Xu, M… — [Apertus: Democratizing Open and Compliant LLMs for Global Language Environments](https://md.research.elamur.ai/free/en/papers/cano-2026-apertus-democratizing-open-compliant-llms/)
7. Laurie Burchell, Alexandra Birch, Robert P. Thompson, and Kenneth Heafield. 2024. Code-switched language identification is harder than you think. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2024 - Volume 1: Long Papers, St. Jul… [find](https://scholar.google.com/scholar?q=Laurie+Burchell%2C+Alexandra+Birch%2C+Robert+P%2E+Thompson%2C+and+Kenneth+Heafield%2E+2024%2E+Code%2Dswitched+language+identification+is+harder+than+you+think%2E+In+Proceedings+of+the+18th+Conference+of+the+European+)
8. Zachary Hopton, Jannis Vamvas, Andrin Büchler, Anna Rutkiewicz, Rico Cathomas, and Rico Sennrich. 2026. The mediomatix corpus: Parallel data for Romansh language varieties via comparable schoolbooks. In Findings of the Association for Computational Linguistics: EACL 2026, pages 290–306, Rabat, Moroc… [find](https://scholar.google.com/scholar?q=Zachary+Hopton%2C+Jannis+Vamvas%2C+Andrin+B%C3%BCchler%2C+Anna+Rutkiewicz%2C+Rico+Cathomas%2C+and+Rico+Sennrich%2E+2026%2E+The+mediomatix+corpus%3A+Parallel+data+for+Romansh+language+varieties+via+comparable+schoolbooks%2E+)
9. Bharathi Raja Chakravarthi, Mihaela Gaman, Radu Tudor Ionescu, Heidi Jauhiainen, Tommi Jauhiainen, Krister Lindén, Nikola Ljubešić, Niko Partanen, Ruba Priyadharshini, Christoph Purschke, Eswari Rajagopal, Yves Scherrer, and Marcos Zampieri. 2021. Findings of the VarDial evaluation campaign 2021. I… [find](https://scholar.google.com/scholar?q=Bharathi+Raja+Chakravarthi%2C+Mihaela+Gaman%2C+Radu+Tudor+Ionescu%2C+Heidi+Jauhiainen%2C+Tommi+Jauhiainen%2C+Krister+Lind%C3%A9n%2C+Nikola+Ljube%C5%A1ic%CC%81%2C+Niko+Partanen%2C+Ruba+Priyadharshini%2C+Christoph+Purschke%2C+Eswari+Raja)
10. F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. 2011. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:282… [find](https://scholar.google.com/scholar?q=F%2E+Pedregosa%2C+G%2E+Varoquaux%2C+A%2E+Gramfort%2C+V%2E+Michel%2C+B%2E+Thirion%2C+O%2E+Grisel%2C+M%2E+Blondel%2C+P%2E+Prettenhofer%2C+R%2E+Weiss%2C+V%2E+Dubourg%2C+J%2E+Vanderplas%2C+A%2E+Passos%2C+D%2E+Cournapeau%2C+M%2E+Brucher%2C+M%2E+Perrot%2C+and+E%2E+Duc)
11. Elizabeth Salesky, Badr M. Abdullah, Sabrina Mielke, Elena Klyachko, Oleg Serikov, Edoardo Maria Ponti, Ritesh Kumar, Ryan Cotterell, and Ekaterina Vylomova. 2021. [find](https://scholar.google.com/scholar?q=Elizabeth+Salesky%2C+Badr+M%2E+Abdullah%2C+Sabrina+Mielke%2C+Elena+Klyachko%2C+Oleg+Serikov%2C+Edoardo+Maria+Ponti%2C+Ritesh+Kumar%2C+Ryan+Cotterell%2C+and+Ekaterina+Vylomova%2E+2021%2E)
12. SIGTYP 2021 shared task: Robust spoken language identification. In Proceedings of the Third Workshop on Computational Typology and Multilingual NLP, pages 122–129, Online. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=SIGTYP+2021+shared+task%3A+Robust+spoken+language+identification%2E+In+Proceedings+of+the+Third+Workshop+on+Computational+Typology+and+Multilingual+NLP%2C+pages+122%E2%80%93129%2C+Online%2E+Association+for+Computationa)
13. Jannis Vamvas, Johannes Graën, and Rico Sennrich. 2023. SwissBERT: The multilingual language model for Switzerland. In Proceedings of the 8th edition of the Swiss Text Analytics Conference, pages 54–69, Neuchatel, Switzerland. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Jannis+Vamvas%2C+Johannes+Gra%C3%ABn%2C+and+Rico+Sennrich%2E+2023%2E+SwissBERT%3A+The+multilingual+language+model+for+Switzerland%2E+In+Proceedings+of+the+8th+edition+of+the+Swiss+Text+Analytics+Conference%2C+pages+54%E2%80%936)
14. Jannis Vamvas, Ignacio Pérez Prat, Not Soliva, Sandra Baltermia-Guetg, Andrina Beeli, Simona Beeli, Madlaina Capeder, Laura Decurtins, Gian Peder Gregori, Flavia Hobi, Gabriela Holderegger, Arina Lazzarini, Viviana Lazzarini, Walter Rosselli, Bettina Vital, Anna Rutkiewicz, and Rico Sennrich. 2025.… [find](https://scholar.google.com/scholar?q=Jannis+Vamvas%2C+Ignacio+P%C3%A9rez+Prat%2C+Not+Soliva%2C+Sandra+Baltermia%2DGuetg%2C+Andrina+Beeli%2C+Simona+Beeli%2C+Madlaina+Capeder%2C+Laura+Decurtins%2C+Gian+Peder+Gregori%2C+Flavia+Hobi%2C+Gabriela+Holderegger%2C+Arina+Lazz)

*Updated 1 November 2026*
