Instructions to use iproskurina/en_grammar_checker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use iproskurina/en_grammar_checker with spaCy:
!pip install https://huggingface.co/iproskurina/en_grammar_checker/resolve/main/en_grammar_checker-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_grammar_checker") # Importing as module. import en_grammar_checker nlp = en_grammar_checker.load() - Notebooks
- Google Colab
- Kaggle
Commit ·
ec71a42
1
Parent(s): 59d18c0
Update meta.json
Browse files
meta.json
CHANGED
|
@@ -43,75 +43,80 @@
|
|
| 43 |
|
| 44 |
},
|
| 45 |
"performance":{
|
| 46 |
-
"spans_articles_p":0.
|
| 47 |
-
"spans_articles_r":0.
|
| 48 |
-
"spans_articles_f":0.
|
| 49 |
-
"spans_punctuation_p":0.
|
| 50 |
-
"spans_punctuation_r":0.
|
| 51 |
-
"spans_punctuation_f":0.
|
| 52 |
-
"spans_spelling_p":0.
|
| 53 |
-
"spans_spelling_r":0.
|
| 54 |
-
"spans_spelling_f":0.
|
| 55 |
"spans_spelling_per_type":{
|
| 56 |
"Spelling":{
|
| 57 |
-
"p":0.
|
| 58 |
-
"r":0.
|
| 59 |
-
"f":0.
|
| 60 |
},
|
| 61 |
"Capitalisation":{
|
| 62 |
-
"p":0.
|
| 63 |
-
"r":0.
|
| 64 |
-
"f":0.
|
| 65 |
}
|
| 66 |
},
|
| 67 |
-
"spans_vocabulary_p":0.
|
| 68 |
-
"spans_vocabulary_r":0.
|
| 69 |
-
"spans_vocabulary_f":0.
|
| 70 |
"spans_vocabulary_per_type":{
|
| 71 |
-
"
|
| 72 |
-
"p":0.
|
| 73 |
-
"r":0.
|
| 74 |
-
"f":0.
|
| 75 |
},
|
| 76 |
"lex_item_choice":{
|
| 77 |
-
"p":0.
|
| 78 |
-
"r":0.
|
| 79 |
-
"f":0.
|
| 80 |
-
},
|
| 81 |
-
"Category_confusion":{
|
| 82 |
-
"p":0.84472708,
|
| 83 |
-
"r":0.5153572583,
|
| 84 |
-
"f":0.6401606426
|
| 85 |
},
|
| 86 |
"Formational_affixes":{
|
| 87 |
-
"p":0.
|
| 88 |
-
"r":0.
|
| 89 |
-
"f":0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
}
|
| 91 |
},
|
| 92 |
-
"spans_grammar_minor_p":0.
|
| 93 |
-
"spans_grammar_minor_r":0.
|
| 94 |
-
"spans_grammar_minor_f":0.
|
| 95 |
"spans_grammar_minor_per_type":{
|
| 96 |
-
"
|
| 97 |
-
"p":0.
|
| 98 |
-
"r":0.
|
| 99 |
-
"f":0.
|
| 100 |
},
|
| 101 |
"Noun_number":{
|
| 102 |
-
"p":0.
|
| 103 |
-
"r":0.
|
| 104 |
-
"f":0.
|
| 105 |
},
|
| 106 |
-
"
|
| 107 |
-
"p":0.
|
| 108 |
-
"r":0.
|
| 109 |
-
"f":0.
|
| 110 |
},
|
| 111 |
"Numerals":{
|
| 112 |
-
"p":0.
|
| 113 |
-
"r":0.
|
| 114 |
-
"f":0.
|
| 115 |
},
|
| 116 |
"Determiners":{
|
| 117 |
"p":0.5853658537,
|
|
@@ -119,29 +124,34 @@
|
|
| 119 |
"f":0.0446096654
|
| 120 |
}
|
| 121 |
},
|
| 122 |
-
"spans_grammar_major_p":0.
|
| 123 |
-
"spans_grammar_major_r":0.
|
| 124 |
-
"spans_grammar_major_f":0.
|
| 125 |
"spans_grammar_major_per_type":{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
"Agreement_errors":{
|
| 127 |
-
"p":0.
|
| 128 |
-
"r":0.
|
| 129 |
-
"f":0.
|
| 130 |
},
|
| 131 |
-
"
|
| 132 |
-
"p":0.
|
| 133 |
-
"r":0.
|
| 134 |
-
"f":0.
|
| 135 |
},
|
| 136 |
"Redundant_comp":{
|
| 137 |
-
"p":0.
|
| 138 |
-
"r":0.
|
| 139 |
-
"f":0.
|
| 140 |
},
|
| 141 |
-
"
|
| 142 |
-
"p":0.
|
| 143 |
-
"r":0.
|
| 144 |
-
"f":0.
|
| 145 |
}
|
| 146 |
}
|
| 147 |
},
|
|
|
|
| 43 |
|
| 44 |
},
|
| 45 |
"performance":{
|
| 46 |
+
"spans_articles_p":0.871184029,
|
| 47 |
+
"spans_articles_r":0.8174664185,
|
| 48 |
+
"spans_articles_f":0.8434708191,
|
| 49 |
+
"spans_punctuation_p":0.8551832461,
|
| 50 |
+
"spans_punctuation_r":0.7150236386,
|
| 51 |
+
"spans_punctuation_f":0.7788479878,
|
| 52 |
+
"spans_spelling_p":0.9357875192,
|
| 53 |
+
"spans_spelling_r":0.9341886817,
|
| 54 |
+
"spans_spelling_f":0.9349874169,
|
| 55 |
"spans_spelling_per_type":{
|
| 56 |
"Spelling":{
|
| 57 |
+
"p":0.9374147491,
|
| 58 |
+
"r":0.9391782767,
|
| 59 |
+
"f":0.9382956842
|
| 60 |
},
|
| 61 |
"Capitalisation":{
|
| 62 |
+
"p":0.9190371991,
|
| 63 |
+
"r":0.8848314607,
|
| 64 |
+
"f":0.9016100179
|
| 65 |
}
|
| 66 |
},
|
| 67 |
+
"spans_vocabulary_p":0.8670995315,
|
| 68 |
+
"spans_vocabulary_r":0.4733276504,
|
| 69 |
+
"spans_vocabulary_f":0.6123752032,
|
| 70 |
"spans_vocabulary_per_type":{
|
| 71 |
+
"Category_confusion":{
|
| 72 |
+
"p":0.8778258778,
|
| 73 |
+
"r":0.5900420304,
|
| 74 |
+
"f":0.7057231245
|
| 75 |
},
|
| 76 |
"lex_item_choice":{
|
| 77 |
+
"p":0.8569078947,
|
| 78 |
+
"r":0.5709589041,
|
| 79 |
+
"f":0.6853008879
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
},
|
| 81 |
"Formational_affixes":{
|
| 82 |
+
"p":0.9155597723,
|
| 83 |
+
"r":0.6241914618,
|
| 84 |
+
"f":0.7423076923
|
| 85 |
+
},
|
| 86 |
+
"lex_part_choice":{
|
| 87 |
+
"p":0.8987341772,
|
| 88 |
+
"r":0.1349809886,
|
| 89 |
+
"f":0.2347107438
|
| 90 |
+
},
|
| 91 |
+
"Word_choice":{
|
| 92 |
+
"p":0.874015748,
|
| 93 |
+
"r":0.0494432071,
|
| 94 |
+
"f":0.0935919056
|
| 95 |
}
|
| 96 |
},
|
| 97 |
+
"spans_grammar_minor_p":0.9128390792,
|
| 98 |
+
"spans_grammar_minor_r":0.7960135708,
|
| 99 |
+
"spans_grammar_minor_f":0.850432944,
|
| 100 |
"spans_grammar_minor_per_type":{
|
| 101 |
+
"Word_order":{
|
| 102 |
+
"p":0.8572580645,
|
| 103 |
+
"r":0.3808670727,
|
| 104 |
+
"f":0.5274125527
|
| 105 |
},
|
| 106 |
"Noun_number":{
|
| 107 |
+
"p":0.930813454,
|
| 108 |
+
"r":0.9101247012,
|
| 109 |
+
"f":0.9203528259
|
| 110 |
},
|
| 111 |
+
"Verb_pattern":{
|
| 112 |
+
"p":0.8855140187,
|
| 113 |
+
"r":0.4880875724,
|
| 114 |
+
"f":0.6293067663
|
| 115 |
},
|
| 116 |
"Numerals":{
|
| 117 |
+
"p":0.7721221613,
|
| 118 |
+
"r":0.7037830121,
|
| 119 |
+
"f":0.7363704257
|
| 120 |
},
|
| 121 |
"Determiners":{
|
| 122 |
"p":0.5853658537,
|
|
|
|
| 124 |
"f":0.0446096654
|
| 125 |
}
|
| 126 |
},
|
| 127 |
+
"spans_grammar_major_p":0.8742891188,
|
| 128 |
+
"spans_grammar_major_r":0.5810864322,
|
| 129 |
+
"spans_grammar_major_f":0.6981531941,
|
| 130 |
"spans_grammar_major_per_type":{
|
| 131 |
+
"Absence_comp_sent":{
|
| 132 |
+
"p":0.8377253814,
|
| 133 |
+
"r":0.1694249649,
|
| 134 |
+
"f":0.2818478768
|
| 135 |
+
},
|
| 136 |
"Agreement_errors":{
|
| 137 |
+
"p":0.8996185505,
|
| 138 |
+
"r":0.77984685,
|
| 139 |
+
"f":0.8354619185
|
| 140 |
},
|
| 141 |
+
"Tense_choice":{
|
| 142 |
+
"p":0.8702422145,
|
| 143 |
+
"r":0.7837110482,
|
| 144 |
+
"f":0.824713072
|
| 145 |
},
|
| 146 |
"Redundant_comp":{
|
| 147 |
+
"p":0.8226534296,
|
| 148 |
+
"r":0.3524748647,
|
| 149 |
+
"f":0.4935029778
|
| 150 |
},
|
| 151 |
+
"Prepositions":{
|
| 152 |
+
"p":0.883926439,
|
| 153 |
+
"r":0.5934894163,
|
| 154 |
+
"f":0.7101602226
|
| 155 |
}
|
| 156 |
}
|
| 157 |
},
|