gector-bert-da / gector-guards.json
Imperatore's picture
Danish 1.0.0 (run 2026-11-20-2352)
0ff5f5f verified
Raw History Blame Contribute Delete
1.01 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": "til|mange",
"note": "a deletion is honoured only on a doubled word (run 1 deleted 'seks' in 'seks syv uger'), and 'til til' / 'mange mange' are Danish (Lav en til til mig; mange mange generationer): both stay"
},
{
"type": "no_unknown_replacement",
"scope": "strict",
"note": "never propose a non-word (word knowledge; strict: a misspelling re-inflected into another non-word is held too; runs last)"
}
]
}