id stringlengths 18 18 | beleg_text stringlengths 9 238 | focusword stringlengths 1 20 | target_lemma stringlengths 1 23 | is_identity bool 2
classes | year int64 850 1.96k ⌀ | era stringclasses 3
values | region stringclasses 6
values | region_name stringclasses 7
values |
|---|---|---|---|---|---|---|---|---|
bwb-e91f3724b0d1-0 | ’s Abputzat ghärt in d’ Ökotonna | Abputzat | Abputzet | false | null | undated | null | |
bwb-2c129b3df98c-0 | s Abputzad is bald kemma | Abputzad | Abputzet | false | 1,958 | post1900 | OB | Oberbayern |
bwb-4fca5e81dc61-0 | s Abutzat muaß ma obitoa | Abutzat | Abputzet | false | null | undated | OB | Oberbayern |
bwb-a05b912ff258-0 | da Abtrittodl g’heat gleich eingackat | Abtrittodl | Abtritt(s)adel | false | null | undated | OP | Oberpfalz |
bwb-1f0012dc3ae0-0 | der hot den Achetzer | Achetzer | Achetzer | true | 1,958 | post1900 | OP | Oberpfalz |
bwb-7d5fe734adbe-0 | auf der Achsel wern d’Mehisäck trong | Achsel | Achsel | true | 1,958 | post1900 | NB | Niederbayern |
bwb-de7c8789f721-0 | den mit der achsel an | achsel | Achsel | true | null | undated | null | |
bwb-8ea931af06e0-0 | dös blos i üba d’Achsel naus | Achsel | Achsel | true | 1,958 | post1900 | OB | Oberbayern |
bwb-6f32a86cdcbb-0 | Dös hot a a de leicht Achsel gnomma | Achsel | Achsel | true | 1,958 | post1900 | OB | Oberbayern |
bwb-9b64c29fd157-0 | den Zweig vor der Achsel abzwicken | Achsel | Achsel | true | 1,958 | post1900 | OP | Oberpfalz |
bwb-330d37c253ac-0 | Deu êrste sippe heft sich an der achseln an daz sint geswistreit | achseln | Achsel | false | null | undated | null | |
bwb-42c59ff51e6f-0 | alle die ienige welche den Ehrabschneidern … und Achseltragern gern zulosen | Achseltragern | Achseltrager | false | null | undated | null | |
bwb-d92d4943ef0b-0 | die Politici welche … Achseltrager … abgeben vnd sich nach allen Winden richten | Achseltrager | Achseltrager | true | null | undated | null | |
bwb-68b80d2f98d4-0 | für mich vnd die erbern achter der benanten wacht | achter | Achter | true | 1,462 | pre1900 | OP | Oberpfalz |
bwb-0c41d4e2129d-0 | da Zoaga bleibt oiwei bein Achter hänga | Achter | Achter | true | 1,958 | post1900 | NB | Niederbayern |
bwb-fdc3ac00d912-0 | Depp schmiern hättst solln ned an Achter obschbotzn | Achter | Achter | true | null | undated | OP | Oberpfalz |
bwb-dce8c5492ae4-0 | a so a Achter | Achter | Achter | true | 1,958 | post1900 | OB | Oberbayern |
bwb-c0d54a72c661-0 | des is scho a komischer Achter | Achter | Achter | true | 1,958 | post1900 | OP | Oberpfalz |
bwb-d7678d887983-0 | n Achtabock schoißn | Achtabock | Achterbock | false | null | undated | NB | Niederbayern |
bwb-87b502f3780f-0 | a „AchtaBock“ – na a Sechsa is gwen | Achtabock | Achterbock | false | null | undated | null | |
bwb-c00543cb1e95-0 | der kimmt daher wie der Adam | Adam | Adam | true | 1,958 | post1900 | NB | Niederbayern |
bwb-5c4601ff9dc5-0 | der schämt sich wie der Adam | Adam | Adam | true | null | undated | NB | Niederbayern |
bwb-f909ee7e056f-0 | da Adam laaft sei’m Ripperl nach | Adam | Adam | true | 1,958 | post1900 | OB | Oberbayern |
bwb-9f586aa1c89c-0 | Seit Adams Zeiten | Adams | Adam | false | 1,958 | post1900 | OP | Oberpfalz |
bwb-e58f49252522-0 | Der läßt sein’ Adam heraushängen | Adam | Adam | true | 1,958 | post1900 | OP | Oberpfalz |
bwb-358806fe31d0-0 | Adam wo bist du | Adam | Adam | true | null | undated | OP | Oberpfalz |
bwb-2282027a350a-0 | Adam wo bist du – Am Bam drum – Wos frißt du – An Fisch – Gi ma aa wos – An Schiis | Adam | Adam | true | null | undated | OP | Oberpfalz |
bwb-a3cf9c27b428-0 | Adam is in’n Garten ganga Wieviel Vögel hout er g’fanga Oans zwoa drei du bist frei | Adam | Adam | true | null | undated | OP | Oberpfalz |
bwb-ebd0e9cf0f6c-0 | wo hot da Adam dö Gawö heagnomma – Bein Schtüi | Adam | Adam | true | null | undated | OB | Oberbayern |
bwb-576ed4aa402b-0 | woaßt du woa da Adam in eastn Nogl higschlogn hat – Afn Kchobf | Adam | Adam | true | null | undated | OP | Oberpfalz |
bwb-e1ca38e3ae83-0 | Des hamm da Adam und d’ Eva scho gwißt | Adam | Adam | true | 1,958 | post1900 | OB | Oberbayern |
bwb-a7521718c525-0 | Adam und Eva war’n halt Leit solchene Leit gibt’s nemma heit | Adam | Adam | true | null | undated | OB | Oberbayern |
bwb-2ca604f980e4-0 | Adam und Eva reiten auf dem Käfa Der Käfa tut an Schoaß und d’Eva fallt a’d Froas | Adam | Adam | true | null | undated | OB | Oberbayern |
bwb-bacdd23baaf7-0 | dr Adam und d’Eva hom Äpfl g’essn san eini in d’Staudn hom auf d’Sünd vergess’n | Adam | Adam | true | null | undated | OB | Oberbayern |
bwb-9494d921646d-0 | Adam und Eva san sparsame Leut sie flicken sich ’s Gwand’l mit Erdäpfehäut | Adam | Adam | true | null | undated | OB | Oberbayern |
bwb-96b83defa1c9-0 | Wie’s Adam und Eva send’t bleibt der Dezember bis zum End | Adam | Adam | true | null | undated | null | |
bwb-663ff758008e-0 | Adam und Eva | Adam | Adam | true | 1,958 | post1900 | null | |
bwb-663ff758008e-1 | Adam und Eva | Adam | Adam | true | 1,958 | post1900 | null | |
bwb-663ff758008e-2 | Adam und Eva | Adam | Adam | true | 1,958 | post1900 | null | |
bwb-83972663cfc8-0 | der Adam und s Everl schwimmen übern See der Adam geht unter und Everl in d’ Höh | Adam | Adam | true | null | undated | NB | Niederbayern |
bwb-663ff758008e-3 | Adam und Eva | Adam | Adam | true | 1,958 | post1900 | null | |
bwb-a72b0c84b272-0 | Adam und Evableami | Adam | Adam | true | null | undated | NB | Niederbayern |
bwb-badbe906ea44-0 | 1 meßingnes Aderlaß bäck | Aderlaß | Aderlaßbecken | false | 1,800 | pre1900 | OB | Oberbayern |
bwb-7723abe7dc08-0 | da Ahoan kriagt in Heagst a so a schene Foa | Ahoan | Ahorn | false | 1,958 | post1900 | NB | Niederbayern |
bwb-e6e9abafef20-0 | als Kina hom ma mid di Nosnzwicka va di Ahoan allawal gschpült | Ahoan | Ahorn | false | 1,958 | post1900 | OP | Oberpfalz |
bwb-cf90b2193426-0 | Sou a Tejer des mou draht sei von an Achorn de han schnejweiß | Achorn | Ahorn | false | null | undated | null | |
bwb-a7cbde172e28-0 | Dort wo sich das Ahorn neiget | Ahorn | Ahorn | true | null | undated | null | |
bwb-7e068f1cbeba-0 | vor lauter Akkuratikeit wird bei der nix fertig | Akkuratikeit | Akkuratigkeit | false | 1,958 | post1900 | NB | Niederbayern |
bwb-700b3e5b5d84-0 | du glaabst niat wos döi mid ihran Goatn fia a Aggratikeit hout | Aggratikeit | Akkuratigkeit | false | null | undated | OP | Oberpfalz |
bwb-9f5ca38754c3-0 | da Aktuar mächt se p’Finga krumm schreim | Aktuar | Aktuar | true | 1,958 | post1900 | OP | Oberpfalz |
bwb-132320d4adbc-0 | 1 Bettstadt auf 2 Personen und 1 Altkofen mit grünen Vorhängen | Altkofen | Alkoven | false | null | undated | null | |
bwb-2c10cf355643-0 | alle umag’hupft wia wenn der Almkirta waar’ | Almkirta | Alm(en)kirchtag | false | null | undated | null | |
bwb-dd398760e100-0 | die Gilten so den Bischoͤfen … auch Spitaͤlern Siechhaͤusern und Allmosern … zugehoͤren | Allmosern | Almoser | false | null | undated | null | |
bwb-b80000135270-0 | Wilhalm Förhl Altarist des Altars StAndre zu Haindling und Herzog Ottens Kanzlschreiber verwilligt für sich und alle nachkommenden Altaristen | Altarist | Altarist | true | null | undated | OP | Oberpfalz |
bwb-fba8f246c2a0-0 | a Oättier a Hiaschkua | Oättier | Alttier | false | null | undated | NB | Niederbayern |
bwb-d8348d912d7a-0 | Amále du Fale göih außi afs Feld vadöinst kam dei Essn erst recht net dei Geld | Amále | Amalia | false | null | undated | OP | Oberpfalz |
bwb-c79cd3367d05-0 | Ámali geh loß mi hi | Ámali | Amalia | false | null | undated | NB | Niederbayern |
bwb-aa5ac22dc663-0 | Amal is net zwamal | Amal | Amalia | false | 1,958 | post1900 | OB | Oberbayern |
bwb-19d0814f6657-0 | geh her du arms Amal | Amal | Amalia | false | null | undated | OP | Oberpfalz |
bwb-714811cf9c7c-0 | Amsterdam naou Schmerheidn | Amsterdam | Amsterdam | true | null | undated | OP | Oberpfalz |
bwb-ba2843097ae7-0 | oder zwo als zu einem Anbiß | Anbiß | Anbiß | true | null | undated | null | |
bwb-57e631fc739f-0 | eine lautere Andächtlerin | Andächtlerin | Andächtlerin | true | null | undated | null | |
bwb-fc7d27d3eca6-0 | Aneis und Chiem | Aneis | Anis | false | null | undated | NB | Niederbayern |
bwb-01d334e0f28d-0 | daz aneis ist an der kraft haiz und trucken | aneis | Anis | false | null | undated | null | |
bwb-815ca009b4f9-0 | due das bulfer in airklar und neuen anken und gibs den vich zu lecken | anken | Anken | true | null | undated | null | |
bwb-79572b3c8b6a-0 | Sie hab nit einen Zwirnfaden Werth Anthaill bekhommen | Anthaill | Anteil | false | 1,696 | pre1900 | OP | Oberpfalz |
bwb-bfe5fbd87340-0 | ön Olaßpfinzta möissn t Manna beichtn und schpaisn | Olaßpfinzta | Antlaßpfinztag | false | null | undated | OP | Oberpfalz |
bwb-32a9c0faf570-0 | Am Antlaßpfingstag in der Marter Wochen | Antlaßpfingstag | Antlaßpfinztag | false | 1,527 | pre1900 | null | |
bwb-c346da80d25c-0 | da kloa Antlaspfinsta | Antlaspfinsta | Antlaßpfinztag | false | null | undated | OB | Oberbayern |
bwb-1143b0c8b34f-0 | an Pfinsta noch an Antlaßsunda | Antlaßsunda | Antlaßsonntag | false | null | undated | OB | Oberbayern |
bwb-14435300c654-0 | wenn Antlaßsonntag schön Wetter gibt’s guts Heuwetter | Antlaßsonntag | Antlaßsonntag | true | null | undated | OB | Oberbayern |
bwb-9f12bf5247ae-0 | um 6 Uhr 30 beginnt der erste Antrieb | Antrieb | Antrieb | true | 1,958 | post1900 | OB | Oberbayern |
bwb-188cdbb0f4f7-0 | eine Werfel zum Antrieb | Antrieb | Antrieb | true | 1,958 | post1900 | OB | Oberbayern |
bwb-bfbc5aeb5805-0 | s Karussell braucht an Otrieb | Otrieb | Antrieb | false | 1,958 | post1900 | OP | Oberpfalz |
bwb-9deb91528918-0 | nebst sonderbarem Antrib und Neigung gegen alldasigen GnadenBild | Antrib | Antrieb | false | null | undated | null | |
bwb-67bf3f9ead68-0 | Aepfelbrei Schäle 25 gute Aepfel | Aepfelbrei | Apfelbrei | false | null | undated | null | |
bwb-5d3728b63921-0 | Dampfnudeln … mit an Apfedauch | Apfedauch | Apfeltauch | false | null | undated | null | |
bwb-1bc39fe956a9-0 | dea riacht wia a ganze Apothekerpudl | Apothekerpudl | Apothekerbudel | false | 1,958 | post1900 | NB | Niederbayern |
bwb-2e5faf5c33a9-0 | du host gmoant daß di neamads drokriagt du Apruiåff | Apruiåff | Aprilaffe | false | null | undated | OB | Oberbayern |
bwb-3bd9d3f462ff-0 | Abrilaff bist da gresste Maiaff | Abrilaff | Aprilaffe | false | null | undated | OB | Oberbayern |
bwb-d7ec734f0c74-0 | Komm als Negus als Araber Nimm a Bettuach her als Schaber | Araber | Aráber | false | null | undated | null | |
bwb-45d6543166b9-0 | an Arch ozong | Arch | Arch | true | null | undated | OB | Oberbayern |
bwb-edb3a5351a27-0 | ihre Handlungen in Arg nicht mehr aͤffern noch ahnden | Arg | Arg | true | 1,492 | pre1900 | null | |
bwb-e0bbf62fe5d2-0 | gefundenes … goldenes Armbracelet | Armbracelet | Armbrasselett | false | null | undated | null | |
bwb-b4fb014f9b7f-0 | wenn da Klaus in Wiesnfestzuuch mit seiner Armbrust marschiern soll | Armbrust | Armbrust | true | null | undated | null | |
bwb-23751393b10c-0 | Er gibt auch der stat ein armbrost | armbrost | Armbrust | false | 1,373 | pre1900 | null | |
bwb-9ebe88d99f47-0 | denselben … Wildnern ihre Püchsen Armbst Hund oder Netz nem̄en | Armbst | Armbrust | false | null | undated | null | |
bwb-f9851694a4e6-0 | üba de Armetei laßt se schö prödign aba wenn ma lee’m muaß damit is scho arg hart | Armetei | Armutei | false | null | undated | NB | Niederbayern |
bwb-a20f56291da0-0 | man sieht im ganzen Haus nichts als Armedei | Armedei | Armutei | false | null | undated | null | |
bwb-13f70cd282cc-0 | und nimmt diese Armutei je länger je fester zu | Armutei | Armutei | true | 1,616 | pre1900 | null | |
bwb-30b5d8310d81-0 | dass ich nit den Einker in ihre Armuetei | Armuetei | Armutei | false | null | undated | null | |
bwb-e1c28861363f-0 | a Kellnarin ohne Kerl is wia a oaschichtiga … Arschbacka | Arschbacka | Arschbacken | false | null | undated | null | |
bwb-bea0c6b6d143-0 | die unsrigen Madel … ham Arschbacken unt wia die Krautköpf so rund | Arschbacken | Arschbacken | true | null | undated | null | |
bwb-bb1acba75e3a-0 | Dreiviertl auf Arschbagga kannst dir a Drumm rohacka | Arschbagga | Arschbacken | false | null | undated | null | |
bwb-e39cd41a1610-0 | … hod ma haind vier Datzn und zwoa Arschbriegl gem | Arschbriegl | Arschprügel | false | null | undated | null | |
bwb-4850a0e96303-0 | Wenn i glei scho siebenzig Arschprügel auf mir hab | Arschprügel | Arschprügel | true | null | undated | null | |
bwb-179d5502bea4-0 | Entschuldigens Herr Assessor soll ich dös alles ins Protokoll nei’schreib’n | Assessor | Assessor | true | null | undated | null | |
bwb-b5cad074a02a-0 | D’ Assessa d’ Dokta schaut a schia Net an dees san nua g’moane Thia | Assessa | Assessor | false | null | undated | null | |
bwb-65ddee9276b1-0 | heut gibts an Aufbruch zum Essn | Aufbruch | Aufbruch | true | null | undated | OB | Oberbayern |
bwb-1d6c03c26cb1-0 | der Afbruch ghert an Schützn | Afbruch | Aufbruch | false | null | undated | NB | Niederbayern |
Bar-Lem (beta): Bavarian lemmatization test split
Map a Bavarian surface form, seen in its attestation context, to its headword (lemma) as registered in the Bayerisches Wörterbuch (BWB), a scholarly dictionary of Bavarian compiled at the Bavarian Academy of Sciences and Humanities (BAdW), whose attestations (Belege) span historical and modern material, either naturally occurring or elicited by lexicographers.
The lemma is not a selected Bavarian surface form: it is a headword constructed and standardized by BWB lexicographers, close to standard German but not identical to it. A gold string can therefore differ from every form that occurs in the attestations, and often shares little surface material with them, so the task is character transduction rather than string matching.
Example: Wöwastejschlobam → Weberstuhlschlagbaum ("loom beater beam"), in
wenn da Vadda amö mit n Wöwastejschlobam ogschlogn hod — "when father used to beat in the weft with the loom beater beam"
Here almost every word is respelled, not only the annotated one (da Vadda → der Vater,
amö → einmal, ogschlogn hod → angeschlagen hat), though only the surface form is
annotated and the rest is context. Many rows additionally require grammatical
normalization to the base form, including umlaut and other stem alternations:
| surface form → lemma | attestation | English |
|---|---|---|
Dachtn → Dächte (plural, with umlaut) |
da Nåchba håd sauwane Dachtn de dad i eihandln | "the neighbor has clean doves, I'd trade for those" |
ausbrat → ausbräten (past participle) |
de hoibat Kuah hamma ausbrat und zu Würscht voarbat | "we rendered down half the cow and worked it into sausage" |
Measured with the dictionary's own part-of-speech annotation, 24.2 % of non-identity pairs involve inflection and 80.4 % involve dialect respelling across the full dataset; the two axes overlap, since 4.6 % of pairs are both. This split is representative of that. The inflection share is a lower bound: the test covers regular noun, verb and adjective paradigms only.
English renderings here are glosses for orientation, not part of the data: the dataset contains no translations.
This release is the held-out test split only: 2,423 rows. The train split (20,752 rows) and the validation split (2,687 rows) are not published, here or elsewhere, so this release supports evaluation and comparison rather than training. The companion model pirolen/byt5-small-bavarian-lemmatizer was trained on the unpublished train split and evaluated on exactly this file.
The split is lemma leak-free by construction
Rows are grouped by target lemma before splitting (80/10/10, deterministic md5), so every row sharing a headword lands in the same split. This file therefore has zero lemma overlap with the train and validation splits it was built against:
| property | value |
|---|---|
| rows | 2,423 |
| distinct target lemmas | 1,032 |
| distinct surface forms | 1,750 |
| mean rows per lemma | 2.35 (max 62) |
identity rows (focusword == target_lemma, case-insensitive) |
485 (20.0 %) |
| lemma overlap with train | 0 |
| lemma overlap with validation | 0 |
rows with a known region |
1,512 (62 %) |
rows with a year |
734 (30 %) |
Every item requires a headword the model never saw as a training target, so scores measure generalization rather than memorization.
Fields
| field | description |
|---|---|
id |
opaque row id, stable within this release (see Versioning) |
beleg_text |
the attestation (context sentence) |
focusword |
the surface form to lemmatize, verbatim from the attestation (model input) |
target_lemma |
the BWB headword (gold) |
is_identity |
true if focusword equals target_lemma ignoring case |
year |
approximate year of attestation, or null (~30 % of rows) |
era |
pre1900 | post1900 | undated, derived from year |
region |
dialect region (bezirk): OB/NB/OP/OF/MF/SCH, or null |
region_name |
human-readable region (e.g. Oberbayern), or "" |
Regional distribution of the 1,512 region-known rows: OB 661, NB 385, OP 363,
SCH 45, MF 32, OF 26. Per-region reporting is meaningful for OB/NB/OP only.
Locality-level geography (place name, district, coordinates) is present in the source
data but deliberately not published in v0.1, pending confirmation from the BWB team
that locality data on questionnaire attestations is publishable. region is the
reporting axis used in the paper.
Scoring
Use the included score.py. Two conventions are not guessable from the data
and will make numbers incomparable if you get them wrong:
- Casing is not penalized. Matching is case-insensitive.
- Identity rows are reported separately. 485 rows (20.0 %) already have
focusword == target_lemmaand are solvable by copying the input, so overall accuracy overstates lemmatization skill. The headline metric is non-identity STRICT.
python score.py --gold data/test.jsonl --pred predictions.jsonl
python score.py --gold data/test.jsonl --pred predictions.jsonl --by-region
Predictions are either one per line in gold-file order, or JSONL with id plus one of
pred / prediction / output.
Reference scores
| system | non-identity STRICT | overall STRICT |
|---|---|---|
| ByT5-small, finetuned (300M) | 53.9 % | 61.3 % |
| Best QLoRA-finetuned 7–10B LLM (Occiglot-7B) | 52.2 % | 58.2 % |
| Frequency lookup (memorization only) | 0.0 % | 17.4 % |
| Copy baseline (output = input) | 0.0 % | 20.0 % |
The frequency lookup is the clearest evidence that the split does what it claims. For each surface form it returns the most frequent lemma that form was seen with in training, falling back to copying when the form is unseen; it generates nothing. On this split it scores 0.0 % on non-identity rows and lands below the copy baseline overall, because only 7.6 % of test surface forms occur in training at all and those carry a different lemma. Memorization has nothing to retrieve here, so every non-identity row has to be generated. (Reproducing this number needs the train split, which is not part of this release.)
Known label defect: stress marks
The BWB prints stress marks (acute/grave) on some headwords. These are not German orthography and cannot be inferred from the input, so 11 rows are unwinnable by construction: the gold differs from the surface form only by a diacritic the model would have to invent.
bwb-d7ec734f0c74-0 Araber -> Aráber
bwb-a47c635af7c9-0 Bretzellerei -> Bretzéllerei
bwb-491a510cf9bd-0 Bretzellerei -> Bretzéllerei
bwb-d064befd13ca-0 durchackern -> dúrchackern
bwb-dca0aba9b601-0 durchackern -> dúrchackern
bwb-6e47ea947c8c-0 durchackern -> dúrchackern
bwb-ef6a740c479c-0 hindan -> híndan
bwb-22e0a2687d75-0 hindan -> híndan
bwb-13abeab7df67-0 hindan -> híndan
bwb-eeecb7fc7ad2-0 huiaus -> huiáus
bwb-a72222830a9f-0 überackern -> überáckern
33 rows carry a stress-marked gold lemma in total. Models do emit these marks, so the
gold is a live target, and a user who does not know about this absorbs a silent floor of
roughly half a point. score.py --fold-stress ignores acute/grave on both sides
(NFD-decompose, drop U+0301/U+0300, keep U+0308 and ß, recompose). It is worth about
+0.9 points overall. The published reference scores above are computed without
folding, against verbatim gold.
target_lemma ships verbatim because it is what the dictionary prints; stripping marks
in place would destroy information.
Coverage caveats
This is a benchmark drawn from a dictionary, and it systematically excludes part of the underlying phenomenon. The extraction that produced these rows:
- omits all single-word attestations (36.9 % of attestations in the source dump),
- omits all punctuation-bearing attestations (verified: zero rows contain a hyphen or parenthesis in the attestation or surface form),
- truncated ~6.3 % of attestations at the first inline child element.
A further 31,815 source rows with no surface form were dropped at build time.
Separately, 176 rows (7.3 %) have a bracketed gold lemma denoting optional material
(Abtritt(s)adel, Ball(en)). STRICT scoring requires the verbatim string including the
brackets, which no attestation contains, so these rows are near-unscorable in practice:
pooled across 12 finetuned systems they are matched about 8 % of the time against about
47 % elsewhere.
Provenance
Rows are verbatim extracts from BWB articles; none are hand-written or generated.
- Source: the BWB XML dump, published as part of Bayerns Dialekte Online (BDO), Bavarian Academy of Sciences and Humanities (2019ff.). Isolated BWB dump: https://bdo.badw.de/info#downloads (the release was built from the dump downloaded 2026-02-10).
- Each source article carries a Bavarian lemma and a set of attestations (Belege). We take one (lemma, attestation) row per attestation. Because the XML has no field marking which token in an attestation realizes the lemma, the surface form was recovered automatically, so a small number of rows may carry an imperfect surface form.
- Build: an intermediate extraction of 57,677 (attestation, surface form, lemma) rows, split by lemma 80/10/10 with a deterministic md5 hash.
- That intermediate extraction is not regenerable from the current dump: only ~88 % of its attestations still match the dump verbatim, because the extractor and the dictionary have both moved on. The chain of custody is therefore documented rather than reproducible, which is the main reason a rebuilt v1 is planned.
Versioning
This is a beta release (v0.1): the lemma leak-free test split of Bar-Lem together with the scorer used to produce the published numbers. It is the exact file the accompanying paper and model were evaluated on, so it is the right version for reproducing or comparing against those numbers, but it is not yet a settled resource.
A v1 is planned, rebuilt from the dictionary's XML with a newer extractor. It will add material this version omits (see Coverage caveats) and will differ in roughly 8.4 % of attestation texts, in punctuation handling, and in all row ids: the ids here are opaque, carry no meaning, and are not reconstructable. Treat anything built on v0.1 as needing a rebuild against v1, and do not assume ids are comparable across versions.
This release is tagged v0.1.0-beta. Pin it if you need reproducibility, since main
will move to v1:
load_dataset("pirolen/bar-lem", revision="v0.1.0-beta")
The paper additionally reports a seen-lemma contrast split, which re-splits the same rows without the lemma leak-free guarantee. It is deliberately not released: its numbers are memorization-inflated and are reported only as a contrast.
License
The rows contain attestation text (Belege) and headwords copied verbatim from articles
of the Bayerisches Wörterbuch (BWB), extracted from the BWB XML dump. Each article
carries its own license (lizenz attribute on <artikel>): across all 34,307 articles in
the dump, 32,158 (93.7 %) are CC-BY-SA and 2,149 (6.3 %) are CC-BY. The XML gives no
version number; the BDO license page (https://bdo.badw.de/info#lizenz) links CC BY 4.0
and CC BY-SA 4.0.
Reformatting articles into (attestation, surface form, lemma) rows does not remove these licenses: the rows are verbatim copies of parts of the licensed articles, and the dataset as a whole is a substantial extraction from the BWB database, which CC 4.0 licenses also cover (sui generis database rights). This dataset is therefore released under CC BY-SA 4.0.
Attribution: Bayerisches Wörterbuch (BWB), digitale Fassung in: Bayerns Dialekte Online, hg. v. d. Bayerischen Akademie der Wissenschaften (2019ff.), https://bdo.badw.de.
Open points (to confirm with the BWB team or the BAdW legal office; this note is not legal advice): the license version (the XML says only "CC-BY-SA"); whether quotations of third-party publications inside attestations fall under the article license; and, since BAdW holds the rights to the BWB, whether it wants different terms for derived releases.
Citation
P. Lendvai, J. John, M. Hoffmann, U. Reichel (2027). Bavarian Dialect Lemmatization: Finetuning on the Bar-Lem Dataset. In: Proc. of EACL 2027. (In press.)
@inproceedings{lendvai2027bavarian,
author = {Lendvai, P. and John, J. and Hoffmann, M. and Reichel, U.},
title = {Bavarian Dialect Lemmatization: Finetuning on the {\it Bar-Lem} Dataset},
booktitle = {Proceedings of EACL 2027},
year = {2027},
note = {In press}
}
Model
pirolen/byt5-small-bavarian-lemmatizer — ByT5-small finetuned on the corresponding train split, evaluated on this file.
- Downloads last month
- -