Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

feat: add s,o,f,n,t,c,u affix annotations

hippietrail6316d2e1eaef
diff --git a/harper-core/affixes.json b/harper-core/affixes.json
index 80ccd4aab..57b60f30e 100644
--- a/harper-core/affixes.json
+++ b/harper-core/affixes.json
@@ -643,6 +643,76 @@
"gifts_metadata": {
"adverb": {}
}
+ },
+ "s": {
+ "#": "subject case property",
+ "suffix": true,
+ "cross_product": true,
+ "replacements": [],
+ "adds_metadata": {},
+ "gifts_metadata": {
+ "pronoun": {}
+ }
+ },
+ "o": {
+ "#": "object case property",
+ "suffix": true,
+ "cross_product": true,
+ "replacements": [],
+ "adds_metadata": {},
+ "gifts_metadata": {
+ "pronoun": {}
+ }
+ },
+ "f": {
+ "#": "first-person property",
+ "suffix": true,
+ "cross_product": true,
+ "replacements": [],
+ "adds_metadata": {},
+ "gifts_metadata": {
+ "pronoun": {}
+ }
+ },
+ "n": {
+ "#": "second-person property",
+ "suffix": true,
+ "cross_product": true,
+ "replacements": [],
+ "adds_metadata": {},
+ "gifts_metadata": {
+ "pronoun": {}
+ }
+ },
+ "t": {
+ "#": "third-person property",
+ "suffix": true,
+ "cross_product": true,
+ "replacements": [],
+ "adds_metadata": {},
+ "gifts_metadata": {
+ "pronoun": {}
+ }
+ },
+ "c": {
+ "#": "comparative property",
+ "suffix": true,
+ "cross_product": true,
+ "replacements": [],
+ "adds_metadata": {},
+ "gifts_metadata": {
+ "adjective": {}
+ }
+ },
+ "u": {
+ "#": "superlative property",
+ "suffix": true,
+ "cross_product": true,
+ "replacements": [],
+ "adds_metadata": {},
+ "gifts_metadata": {
+ "adjective": {}
+ }
}
}
}
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index d4aead245..86b67cf31 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -4595,7 +4595,7 @@ I'd/~
I'll/~
I'm/~
I've/~
-I/81M~
+I/81M~sf
IA/21
IBM/21M
ICBM/1SM
@@ -13920,7 +13920,7 @@ bespeak/41SG
bespectacled/5
bespoke/54
bespoken/45
-best/514SGMD
+best/514SGMDu
bestial/51Y
bestiality/1M
bestiary/1SM
@@ -13955,7 +13955,7 @@ betroth/4DG
betrothal/1SM
betrothed/451M
betroths/4
-better/514MDGLS
+better/514MDGLSc
betterment/1M
betting/541
bettor/1MS
@@ -26402,7 +26402,7 @@ hazy/51RTP
hdqrs/1
he'd/
he'll/
-he/81M~
+he/81M~st
head/154MDRZGJS
headache/1MS
headband/1MS
@@ -26821,7 +26821,7 @@ hillside/1SM
hilltop/1MS
hilly/5PRT
hilt/14MS
-him/81S
+him/81Sot
himself/8
hind/51MRZS
hinder/451GD
@@ -29022,7 +29022,7 @@ isthmian/51
isthmus/1MS
it'd/
it'll/
-it/815USM~
+it/815USM~sot
ital/15
italic/51SM
italicization/1M
@@ -41577,7 +41577,7 @@ shawl/14MS
shay/1MS
she'd/
she'll/
-she/81DM~
+she/81DM~st
sheaf/14M
shear/415MDRSZG
shearer/1M
@@ -45508,7 +45508,7 @@ their/S~
theism/1M
theist/1SM
theistic/5
-them/8~
+them/8~ot
thematic/51
thematically/
theme/14DSM
@@ -45579,7 +45579,7 @@ thesis/1M
thespian/51SM
theta/1SM
thew/14MS
-they/8~
+they/8~st
they'd/
they'll/
they're/
@@ -47616,7 +47616,7 @@ usurp/4SDRZG
usurpation/1M
usurper/1M
usury/1M
-us/8
+us/8of
utensil/1SM
uteri/1
uterine/51
@@ -48544,7 +48544,7 @@ wayside/15SM
wayward/5PY
waywardness/1M
wazoo/1S
-we/8~
+we/8~sf
we'd/
we'll/
we're/
@@ -49266,12 +49266,12 @@ worrisome/5
worry/41ZGDRSMJ
worrying/541Y
worrywart/1SM
-worse/514M
+worse/514Mc
worsen/4DSG
worship/14ZGSMDR
worshiper/1M
worshipful/51
-worst/514SGMD
+worst/514SGMDu
worsted/145M
wort/1M
worth/514M
@@ -49515,7 +49515,7 @@ you'd/
you'll/
you're/
you've/
-you/8SMH~
+you/8SMH~son
young/514TMR
youngish/5
youngster/1MS