Download gector-guards.json from proofbird/gector-bert-no: direct link, hf CLI and curl.
- Browser
- Download file 2.24 kB
-
https://huggingface.co/proofbird/gector-bert-no/resolve/main/gector-guards.json
- Command line
-
hf download hf://proofbird/gector-bert-no/gector-guards.json
-
curl -L -o gector-guards.json https://huggingface.co/proofbird/gector-bert-no/resolve/main/gector-guards.json
2.24 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": "accent_needs_known_word", | |
| "note": "an accent that makes a non-word is not a fix (Skalneset -> *Skålneset; run 1)" | |
| }, | |
| { | |
| "type": "merge_needs_known_word", | |
| "mode": "distinct_parts", | |
| "note": "a merge must give a word the speller knows (kirke viet -> *kirkeviet; run 1); one word given twice is not a compound (grotte grotta -> *grottegrotta; run 2)" | |
| }, | |
| { | |
| "type": "delete_only_duplicates", | |
| "words": "det", | |
| "note": "a deletion is honoured only on a doubled word, and 'det det' is Norwegian (ikke lenger det det var): it stays" | |
| }, | |
| { | |
| "type": "keep_repeated_names", | |
| "mode": "inside_sentence", | |
| "note": "a repeated capitalised word inside a sentence is a name (Li Li-Hua); at the start only before a third capital (La La Land) - Filmen Filmen is a doubled word" | |
| }, | |
| { | |
| "type": "keep_repeated_unknown_words", | |
| "note": "a repeated word the speller does not know, next to another unknown word, is a name or a species (Tegeozetes tunicatus tunicatus, amas amas amasmuvvat; run 2)" | |
| }, | |
| { | |
| "type": "keep_coordinated_form", | |
| "suffixes": "t", | |
| "allow": "et", | |
| "note": "two -t forms side by side are adverbs (litt vagt, bredt uthulet -> *vag; bredt og grunt -> *bred; runs 1 and 2)" | |
| }, | |
| { | |
| "type": "keep_ending_before_name", | |
| "suffixes": "e", | |
| "note": "an adjective before a name keeps its ending (vanlig Nintendo Switch -> *vanlige, østromersk Kilikia -> *østromerske; run 2)" | |
| }, | |
| { | |
| "type": "block_replace", | |
| "from": "enkelt", | |
| "to": "enkel", | |
| "note": "en enkelt = a single (en enkelt støvel -> *enkel; runs 1 and 2)" | |
| } | |
| ] | |
| } |