Skip to content

v3.2.0: German

Latest

Choose a tag to compare

@Hiro-Inagawa Hiro-Inagawa released this 03 Nov 14:35

German (Hochdeutsch) as a second language.

  • A profile records its language as "language": "de". stylometry.py --language de analyzes a German corpus, and voice_profile.py init carries the language into the profile. voice_check.py --language de, voice_eval.py --language de and corpus_conflicts.py --language de run the German baseline without a profile.
  • The language is detected automatically. stylometry.py, corpus_conflicts.py and voice_check.py without a profile pick English or German from the text (voice_lang.detect_language, marker words plus umlauts). Too little evidence gives English. --language overrides the detection, and a profile keeps its own language. voice_check.py reports the language it used.
  • New references/00-universal-baseline-de.md. Every universal rule runs with German word lists: stance openers, filler openers and chatbot residue, performative verbs, nicht nur … sondern auch, summary openers, evaluative adjectives (stems that match the inflected forms), intensifiers, antithesis, closing caveat, benefit tail and tagline.
  • New German-only rules in scripts/voice_rules_de.py: DE_QUOTES, DE_DASH, DE_NUMBER_FORMAT, DE_HEADING_CASE, DE_CALQUE, DE_PARTICIPLE_TAIL, DE_ADDRESS_MIX, DE_GENDER_MIX, DE_GENDER_FORM, DE_CONNECTIVE_DENSITY, DE_ASCII_UMLAUT and DE_SS_SPELLING. Two register keys for German: en_dash and gender_characters. Gender forms are the writer's choice. The default checks only that one text does not mix them.
  • The measurements handle German: words with umlauts stay whole, German abbreviations (z. B., bzw.) and ordinals (am 2. November) no longer split sentences, German function words, hedges, boosters and pronouns, Flesch reading ease with the Amstad formula and the Wiener Sachtextformel, the spaCy model de_core_news_sm, German passive and nominal style. A German corpus has no contraction measure.
  • The hook recognizes German prompts and the German phrases that switch the explanation step.
  • A star or underscore between two letters is no longer read as Markdown emphasis, so Kund*innen … Kund*innen keeps its stars.
  • 52 German goldens in eval/goldens/universal-de.goldens.jsonl with the baseline eval/baselines/universal-de.json, and tests/test_german.py. The checks workflow installs de_core_news_sm and runs the German gate. Every English golden gives the same verdict and the same rule hits as in 3.1.1.
  • The rules come from the German Wikipedia guide to AI-generated text (revision of 2026-10-29), Irrgang et al. (KONVENS 2024) and German typography rules.