Skip to content

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

feat: add words from fantasy, politics, religion, and adverbs (#2643)

rauletaveras098d1a420b08
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index 8f57f74ab..07eec0403 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -8166,7 +8166,7 @@ Plasticine/Ng
Plataea/Og
Plath/Og
Plato/Og
-Platonic/JN
+Platonic/JNQ
Platonism/Ogm
Platonist/Ng
Platte/Og
@@ -12675,9 +12675,9 @@ anthropological/~JY
anthropologist/~NSg
anthropology/~Nmg
anthropomorphic/~JQ
-anthropomorphise/V!_₹
+anthropomorphise/V!_₹d
anthropomorphism/Nmg
-anthropomorphize/V
+anthropomorphize/Vd
anthropomorphous/J
anti/~JNSgP(
anti-Semite/NgS
@@ -19560,7 +19560,7 @@ counterculture/~NSg
countered/~V
counterespionage/Ng
counterexample/NS
-counterfactual/JN
+counterfactual/JNS
counterfeit/~J>NgSVGdZ
counterfeiter/Ng
counterfoil/NgS
@@ -22589,7 +22589,7 @@ dyno/NSg
# dys # prefixes that are not also words in their own right don't belong in the dictionary
dysania/Nmg
dysentery/~Nmg
-dysfunction/~Nmg
+dysfunction/~Nwg
dysfunctional/~J
dyslectic/JNSg
dyslexia/Nmg
@@ -23108,7 +23108,7 @@ emerald/~NwgSJV
emerge/~VdGSNr
emergence/~Nmgr
emergency/~NwSg
-emergent/~JN
+emergent/~JNg
emerita/JN9
emeritus/~JN0
emery/~NgV
@@ -23503,7 +23503,8 @@ eosinophilic/J
epaulet/NSg
epaulette/NgS!@_₹
epee/NgS
-epenthesis/Nm # TODO: not count noun
+epentheses/N9
+epenthesis/N0w
epenthetic/JQ
ephedrine/Ng
ephemera/Ng
@@ -23682,7 +23683,7 @@ escapology/N
escargot/NgS
escarole/NgS
escarpment/~NgS
-eschatological/~J
+eschatological/~JQ
eschatology/~Nmg
eschew/VSdG
escort/~NSgVdG
@@ -23869,7 +23870,7 @@ evict/VSdG
eviction/~NwgS
evidence/~NmgSVGd
evident/~JY
-evidential/NSg # used in linguistics as a count noun; e.g. "a system of evidentials"
+evidential/Nwg # used in linguistics as a count noun; e.g. "a system of evidentials"
evil/~J>Y^pNmgS
evildoer/NSg
evildoing/Nmg
@@ -26742,7 +26743,7 @@ gite/NS
give/~VG>SNZz
giveaway/NgSJ
giveback/NgS
-given/~VTSPNgJp # "Givenness" is a technical word in the branch of philosophy called Phenomenology, so I'm adding it here
+given/~VTSPNgJp # "Givenness" is a technical word in the branch of philosophy called Phenomenology
giver/~Ng
gizmo/NSg
gizzard/NgS
@@ -28783,7 +28784,7 @@ honorarium/NgS
honorary/~JN
honoree/NSg<
honorer/NSg<
-honorific/~NgSJ
+honorific/~NgSJQ
honour/NwgSVdGEB!@_₹
honourableness/Ng!@_₹
honourably/RyE!@_₹
@@ -30179,7 +30180,7 @@ inheritance/~NgE
inheritances/N
inheritor/NSg
inhibit/~VGSd
-inhibition/~NSg
+inhibition/~NSwgE
inhibitor/~NSg
inhibitory/~J
inhomogeneous/J
@@ -30809,7 +30810,7 @@ irreproachable/J
irreproachably/Ry
irresistible/~J
irresistibly/Ry
-irresolute/JYpn
+irresolute/JYpnv
irresoluteness/Ng
irresolution/Ng
irrespective/~J
@@ -34906,7 +34907,7 @@ moonshot/NgS
moonstone/NgS
moonstruck/J
moonwalk/NgSV
-moor/~NgSVdGz
+moor/~NgSVdGzU # add "unmoor"
moorhen/~NS
mooring/VSNwg
moorland/~NgS
@@ -48198,9 +48199,9 @@ synaptic/~J
sync/~NgSVdG
synchronicity/N
synchronisation/NgS!_₹
-synchronise/VGdS!_₹
+synchronise/VGdS!_₹eU
synchronization/~NSg
-synchronize/VGdS
+synchronize/VGdSeU
synchronous/~JY
synchrony/N
syncopate/VdSGn
@@ -48555,7 +48556,7 @@ taxiway/~NS
taxman/~N9
taxmen/N9
taxon/~N0g
-taxonomic/~J
+taxonomic/~JQ
taxonomist/NgS
taxonomy/~NwSg
taxpayer/~NgS
@@ -54266,11 +54267,81 @@ z-buffer/NgS
# Word added using the `just addnoun` command will be added here
Compline/NO # Final prayer of the day in the Christian Daily Office and/or Liturgy of the Hours
-LFG/NOg # Lexical Functional Grammar
-WordCamp/Og
exocentric/JQ
+LFG/NOg # Lexical Functional Grammar
licensor/NSg
omnipredicativity/N0
supervenience/Nmg # From emergentist ontology
volitive/NSgJ
-worldbuild/Vd>G # !! This derives `worldbuilded` - is this intentional?
+WordCamp/Og
+worldbuild/V>G # !! This derives `worldbuilded` - is this intentional? -- no 😅, corrected
+
+Afroasiatic/NmgJ # linguistics
+agnatic/J # Most often in the phrase "agnatic primogeniture"
+archipelagic/J # As found in the phrase "Archipelagic state" in the "United Nations Convention on the Law of the Sea"
+ASMR/Nmg # "Autonomous Sensory Meridian Response"
+chorded/J # music: As refers to "chorded instruments"
+cognatic/J # As with "agnatic"
+comital/J # Adjective version of the noble rank "count/countess/earl"
+covenantal/JQ
+cupbearer/NSg
+diahcronic/JQ # linguistics
+discretionarily/Ry
+exonym/NSg
+fae/Nmg # fantasy alternative for "fey"
+hewn/JT # past participle of "hew"
+Hmong-Mien/NmgJ # linguistics
+iaido/Nmg # martial art
+idiolect/NSg # linguistics
+indefinitely/Ry
+Indo-Aryan/NmgJ # linguistics
+Indo-European/NmgJ # linguistics
+Indo-Iranian/NmgJ # linguistics
+Japonic/NmgJ # linguistics
+kalimba/NSg
+Kansai/NOg
+Kartvelian/NmgJ # linguistics
+kendo/Nmg # martial art
+Kra-Dai/NmgJ # linguistics
+leathercraft/Nwg
+lingua franca/NSg
+linguae francae/N9g
+linguæ francæ/N9g
+longsword/NSg
+luthier/NSg
+menarche/Nmg # medicine
+micronutrient/NSg
+monolatrous/J
+monolatry/Nmg
+Nilotic/NmgJ # linguistics
+offeror/NSg
+orthopractic/J
+orthopraxy/Nwg
+piebaldism/Nmg # medicine
+polearm/NSg
+polysyntheses/N9 # linguistics
+polysynthesis/Nw0g # linguistics
+polysynthetic/J # linguistics
+praxis/Nmg
+proprioception/Nmg # medicine
+queenship/Nwg
+resolutive/J
+rhotic/NSgJ # linguistics
+shortsword/NSg
+Sino-Tibetan/NmgJ # linguistics
+sociolect/NSg
+sortition/Nmg # Political science: a method of appointment to office by random draw
+subvocalization/Nwg # phonetics
+synaesthesia/Nmg
+synchronic/JQ # linguistics
+syncretism/Nmg
+synesthesia/Nmg
+synæsthesia/Nmg
+trimeter/NgS # poetry
+trimetre/NgS!@_₹ # poetry
+trimetric/J
+unminted/J
+vicomital/J # Adjective version of "viscount/viscountess"
+vicontiel/J # As above, alternative version
+viscomital/J # As above, alternative version
+Westphalian/J # political science and international relations
diff --git a/harper-core/tests/text/linters/The Great Gatsby.snap.yml b/harper-core/tests/text/linters/The Great Gatsby.snap.yml
index d633e2d0c..5988805fe 100644
--- a/harper-core/tests/text/linters/The Great Gatsby.snap.yml
+++ b/harper-core/tests/text/linters/The Great Gatsby.snap.yml
@@ -3452,27 +3452,30 @@ Suggest:
Lint: Spelling (63 priority)
Message: |
2188 | “He’s an Oggsford man.”
- | ^~~~~~~~ Did you mean `Oxford`?
+ | ^~~~~~~~ Did you mean to spell `Oggsford` this way?
Suggest:
- Replace with: “Oxford”
+ - Replace with: “Longsword”
Lint: Spelling (63 priority)
Message: |
2192 | “He went to Oggsford College in England. You know Oggsford College?”
- | ^~~~~~~~ Did you mean `Oxford`?
+ | ^~~~~~~~ Did you mean to spell `Oggsford` this way?
Suggest:
- Replace with: “Oxford”
+ - Replace with: “Longsword”
Lint: Spelling (63 priority)
Message: |
2192 | “He went to Oggsford College in England. You know Oggsford College?”
- | ^~~~~~~~ Did you mean `Oxford`?
+ | ^~~~~~~~ Did you mean to spell `Oggsford` this way?
Suggest:
- Replace with: “Oxford”
+ - Replace with: “Longsword”
@@ -4504,17 +4507,6 @@ Suggest:
-Lint: Spelling (63 priority)
-Message: |
- 3093 | It might have lasted indefinitely except for the fact that Ella Kaye came on
- | ^~~~~~~~~~~~ Did you mean to spell `indefinitely` this way?
-Suggest:
- - Replace with: “indefinite”
- - Replace with: “infinitely”
- - Replace with: “definitely”
-
-
-
Lint: Readability (127 priority)
Message: |
3096 | I remember the portrait of him up in Gatsby’s bedroom, a gray, florid man with a
@@ -7508,9 +7500,10 @@ Lint: Spelling (63 priority)
Message: |
5519 | was a fine-appearing, gentlemanly young man, and when he told me he was an
5520 | Oggsford I knew I could use him good. I got him to join up in the American
- | ^~~~~~~~ Did you mean `Oxford`?
+ | ^~~~~~~~ Did you mean to spell `Oggsford` this way?
Suggest:
- Replace with: “Oxford”
+ - Replace with: “Longsword”
diff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.md
index 50c0bc240..acf2a7f8b 100644
--- a/harper-core/tests/text/tagged/The Great Gatsby.md
+++ b/harper-core/tests/text/tagged/The Great Gatsby.md
@@ -6183,7 +6183,7 @@
> lasted five years , during which the boat went three times around the Continent .
# VP/J NSg+ NPl+ . VB/P I/C+ D+ NSg/VB+ NSg/VPt NSg NPl/V3+ J/P D+ NPr/J+ .
> It might have lasted indefinitely except for the fact that Ella Kaye came on
-# NPr/ISg+ Nᴹ/VXB/J NSg/VXB VP/J ? VB/C/P R/C/P D+ NSg+ NSg/I/C/Ddem+ NPr NPr NSg/VPt/P J/P
+# NPr/ISg+ Nᴹ/VXB/J NSg/VXB VP/J R VB/C/P R/C/P D+ NSg+ NSg/I/C/Ddem+ NPr NPr NSg/VPt/P J/P
> board one night in Boston and a week later Dan Cody inhospitably died .
# N🅪Sg/VB+ NSg/I/J N🅪Sg/VB+ NPr/J/R/P NPr+ VB/C D/P NSg/J+ JC NPr+ NPr R VP/J .
>