gector-bert-de / gector-guards.json
Imperatore's picture
German 2.3.0: run 2026-11-25-1215 (Europarl recipe), min_error_prob 0.9, six guards; card rewritten
3e50937 verified
Raw History Blame Contribute Delete
2.02 kB
{
"guards": [
{
"type": "velar_orthography",
"note": "built-in (always on): reject a spurious h-insertion on a non-velar stem"
},
{
"type": "elision_echo",
"note": "built-in (always on): collapse a redundant elision echo (un'ora ora -> un'ora)"
},
{
"type": "auxiliary_number",
"note": "built-in (always on): keep 'e`' before a singular participle ('E` andata' is 3sg and correct; 'sono' would flip it to 1sg)"
},
{
"type": "delete_only_duplicates",
"words": "das|die|der|den|dem|sie",
"whenPrevIs": "ist|war|wäre|sei|wird|bleibt|,|wenn|dass|ob|weil|als|da|obwohl|damit|bevor|nachdem|während|sobald|falls|wie|was",
"keepCaseDiffering": true,
"note": "a $DELETE is honoured only on a repeated word ('ist ist'); never on a real word ('wirklich echt?'); 'das das' after a form of sein is a demonstrative + an article (Ist das das Haus?) and stays (DE 1.1.0); so does a relative pronoun + article after a comma (diejenige, die die Entscheidungen trifft, DE 2.0.0) - Mach bitte die die Tür zu still loses one; a pair differing only in case mid-sentence is a noun + its verb (Wir müssen das Lernen lernen, DE 3.0.0)"
},
{
"type": "keep_form_next_to",
"words": "man",
"suffixes": "e",
"note": "man + Konjunktiv I (Man nehme, nehme man) is correct German: the -e form next to 'man' is kept"
},
{
"type": "accent_needs_known_word",
"note": "an umlaut that leaves an unknown word is not a fix (run 7: bemautet -> *bemäutet, Unterlaufung -> *Unterläufung)"
},
{
"type": "keep_numbers",
"words": "zwei|drei|vier|fünf|sechs|sieben|acht|neun|zehn|elf|zwölf|zwanzig|dreißig|vierzig|fünfzig|sechzig|siebzig|achtzig|neunzig|hundert|tausend|million|millionen|milliarde|milliarden",
"note": "a number is never deleted unless it is doubled (from FR run 5: 9 593 391 -> *9 391; on every lane 2026-11-25)"
}
]
}