gector-bert-it / gector-guards.json
Imperatore's picture
Italian 1.1.0: run 2026-11-23-1032 (Wikipedia + Europarl + Tatoeba), min_error_prob 0.6, four guards
c7a4ad8 verified
Raw History Blame Contribute Delete
2.29 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": "velar_plural_redirect",
"note": "gioco -> *gioci / simpatici -> *simpatice: when the bare suffix form is not a word and the h-form is, use the h-form"
},
{
"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)"
},
{
"type": "verb_number_needs_subject",
"words": "il|lo|la|l|un|uno|una|questo|questa|quest|quel|quello|quella|quell|ogni|mio|mia|tuo|tua|suo|sua|nostro|nostra|vostro|vostra|lui|lei|egli|ella|esso|essa|ciò|qualcuno|nessuno|ognuno|chiunque|tutto|ciascuno|ciascuna|qualche|tale",
"cues": "i|gli|le|questi|queste|quei|quegli|quelle|miei|mie|tuoi|tue|suoi|sue|nostri|nostre|vostri|vostre|molti|molte|pochi|poche|alcuni|alcune|tutti|tutte|due|tre|quattro|cinque|sette|otto|nove|dieci|entrambi|entrambe|essi|esse|loro|vari|varie|diversi|diverse|tali|numerosi|numerose|parecchi|parecchie",
"pairs": "di|a|ad|da|in|con|su|per|tra|fra|senza|secondo|verso|contro|durante|dopo|sotto|sopra|entro|del|dello|della|dell|dei|degli|delle|al|allo|alla|all|ai|agli|alle|dal|dallo|dalla|dall|dai|dagli|dalle|nel|nello|nella|nell|nei|negli|nelle|sul|sullo|sulla|sull|sui|sugli|sulle|col|coi",
"allow": "cui|metà|maggioranza|maggior|milione|milioni|serie|decina|decine|centinaio|centinaia|migliaio|migliaia|dozzina|coppia|paio|percento",
"note": "pro-drop verb number: a 3sg/3pl verb edit needs a subject of the new number in view"
},
{
"type": "keep_repeated_names",
"mode": "inside_sentence",
"note": "a repeated capitalised word inside the sentence is a name (Baden Baden, Lang Lang), never a doubled word to delete"
}
]
}