Datasets:
metadata
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 .
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:
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
@misc{hopton-et-al-2025-mediomatix,
title={The Mediomatix Corpus: Parallel Data for Romansh Idioms via Comparable Schoolbooks},
author={Zachary Hopton and Jannis Vamvas and Andrin Büchler and Anna Rutkiewicz and Rico Cathomas and Rico Sennrich},
year={2025},
eprint={2508.16371},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2508.16371},
}
© 2025 Meds d'instrucziun dal Grischun