--- license: cc-by-nc-sa-4.0 language: - rm configs: - config_name: default data_files: - split: train path: train.jsonl - split: validation path: valid.jsonl - split: test path: test.jsonl - split: no_surm path: no_surm.jsonl --- ## General Information Release of the Mediomatix corpus, prepared by UZH and PHGR, to be used for research purposes only. Each segment is presented as part of a multi-parallel alignment. For the full, unaligned _Mediomatix_ data in each idiom's schoolbooks, see [here](https://huggingface.co/datasets/ZurichNLP/mediomatix-raw) . We use the following Romansh idiom codes as columns: - Sursilvan: rm-sursilv - Sutsilvan: rm-sutsilv - Surmiran: rm-surmiran - Puter: rm-puter - Vallader: rm-vallader Book names are encoded in the book column as follows: - The first digit refers to the school year of the book - The next refers to the book volums for that school year - The two letter code indicates whether the segment comes from the student workbook ("wb") or teacher's commentary ("tc") - Example: Book "5.1_tc" refers to teacher's commentary for Volume 1 of the year 5 schoolbook. ## How to Use To access all four splits, use the following code: ```python from datasets import load_dataset # Load aligned dataset mediomatix = load_dataset("ZurichNLP/mediomatix") # Access Train set: train_set = mediomatix['train'] # Access Validation set: val_set = mediomatix['validation'] # Access Test set: test_set = mediomatix['test'] # Access no-rm-surmiran split: no_surm = mediomatix['no_surm'] ``` ## Citation ```bibtex @inproceedings{hopton-etal-2026-mediomatix, title = "The Mediomatix Corpus: Parallel Data for {R}omansh Language Varieties via Comparable Schoolbooks", author = {Hopton, Zachary William and Vamvas, Jannis and B{\"u}chler, Andrin and Rutkiewicz, Anna and Cathomas, Rico and Sennrich, Rico}, editor = "Demberg, Vera and Inui, Kentaro and Marquez, Llu{\'i}s", booktitle = "Findings of the {A}ssociation for {C}omputational {L}inguistics: {EACL} 2026", month = mar, year = "2026", address = "Rabat, Morocco", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2026.findings-eacl.16/", pages = "290--306", ISBN = "979-8-89176-386-9" } ``` © 2025 Meds d'instrucziun dal Grischun