Skip to content

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

chore: dictionary curation (#2867)

Andrew Dunbarc5597cab1980
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index 896785b92..e31cdaca8 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -1985,6 +1985,7 @@ Chad/ONg
Chadian/JNgS
Chadwick/Og
Chagall/NOg
+Chagas disease/Nmg
Chaitanya/g
Chaitin/g
Chaldea/O
@@ -17095,7 +17096,6 @@ cetacean/JNgS
ceteris
cf/~V
cg/~
-ch/~NI^iWv
chad/~NS
chafe/NSVGd
chaff/NgSVGd
@@ -18185,6 +18185,8 @@ coffeepot/NgS
coffer/NSgV
cofferdam/NgS
coffin/~NSgVdG
+cofounder/NSg
+co-founder/NSg
cog/~NSgV
cogency/Ng
cogent/JY
@@ -25600,6 +25602,7 @@ forensic/~JSgQ
forensics/~Ng
foreordain/VGSd
forepart/NgS
+forepaw/NgS
foreperson/NSg
foreplay/NgV
forequarter/NgS
@@ -35109,6 +35112,7 @@ mouth/~N0gVGd
mouthfeel/Nmg
mouthful/NgSJ
mouthiness/Nmg
+mouthpart/NSg
mouthpiece/~NgS
mouths/~N9Vh
mouthwash/NgS
@@ -37707,8 +37711,10 @@ overweening/JYNV
overweight/~JNgV
overwhelm/~VGdSN
overwhelming/~V6JYN
+overwind/VGS
overwinter/VSdGJ
overwork/VGdSNg
+overwound/VtT/J
overwrite/VGSN
overwritten/VT
overwrote/Vt
@@ -38182,6 +38188,7 @@ parson/~NgS
parsonage/~NgS
part/~NSVdGJe
part of speech/N0g
+part-time/J
part's
partake/~VG>SZ
partaken/VT
@@ -39435,6 +39442,7 @@ plantain/NwSg
plantar/J
plantation/~NgS
planter/~Ng
+planthopper/NgS # a couple of dictionary prefer 'plant hopper'
planting/~NgV
plantlike/J
plaque/~NwSg
@@ -42496,6 +42504,7 @@ rerank/VGdS
reranking/NmgV6
reread/VbtTGSN
rerecord/NSVGd
+rerelease/~NSgVGd
rerunning/V6
resale/NgSB
resample/VGdS
@@ -43170,7 +43179,7 @@ rouse/~NSVdG
roust/VdGSN
roustabout/NSgV
rout/~NgSV>Z
-route/~NSVdGr
+route/~NSVdGrB
route's
routeing/V6N
router/~NgV
@@ -52938,7 +52947,7 @@ wipeout/NgS
wiper/Ng
wire/~NwSVGdr
wire's
-wired/~JVtTS
+wired/~JVtT
wirehair/NgS
wireless/~JYNgSV
wiretap/NgSV
@@ -53211,7 +53220,7 @@ would-be/J
would've/
wouldn't/A
wouldst/V
-wound/~NSgVGd>
+wound/~NSgVtTGd>
wove/VtJr
woven/~JNVTrU
wow/~VGdSNg
@@ -54190,6 +54199,7 @@ doomerism/Nmg
doomscrolling/V6NJ
dotfile/~NSg # not well covered by dictionaries.
eVTOL/NgS
+enshittification/Nmg
ext2/Ng # file system
ext3/Ng # file system
ext4/Ng # file system
diff --git a/harper-core/irregular_verbs.json b/harper-core/irregular_verbs.json
index 5e365186a..801746803 100644
--- a/harper-core/irregular_verbs.json
+++ b/harper-core/irregular_verbs.json
@@ -69,6 +69,7 @@
["output", "output", "output"],
["overtake", "overtook", "overtaken"],
["overthrow", "overthrew", "overthrown"],
+ ["overwind", "overwound", "overwound"],
["overwrite", "overwrote", "overwritten"],
["partake", "partook", "partaken"],
["pay", "paid", "paid"],
diff --git a/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml b/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml
index b4f7be1a6..a9c09e0f3 100644
--- a/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml
+++ b/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml
@@ -2894,18 +2894,6 @@ Suggest:
-Lint: Spelling (63 priority)
-Message: |
- 2303 | treading on her toes when they passed too close, and waving their forepaws to
- | ^~~~~~~~ Did you mean to spell `forepaws` this way?
- 2304 | mark the time, while the Mock Turtle sang this, very slowly and sadly:—
-Suggest:
- - Replace with: “foreparts”
- - Replace with: “forepart”
- - Replace with: “foresaw”
-
-
-
Lint: Formatting (255 priority)
Message: |
2306 | > “Will you walk a little faster?” said a whiting to a snail. “There’s a
diff --git a/harper-core/tests/text/linters/The Constitution of the United States.snap.yml b/harper-core/tests/text/linters/The Constitution of the United States.snap.yml
index 168a3e042..75518ed31 100644
--- a/harper-core/tests/text/linters/The Constitution of the United States.snap.yml
+++ b/harper-core/tests/text/linters/The Constitution of the United States.snap.yml
@@ -191,16 +191,6 @@ Suggest:
-Lint: Typo (31 priority)
-Message: |
- 63 | one Representative; and until such enumeration shall be made, the State of New
- 64 | Hampshire shall be entitled to chuse three, Massachusetts eight, Rhode-Island
- | ^~~~~ `chuse` should probably be written as `ch use`.
-Suggest:
- - Replace with: “ch use”
-
-
-
Lint: Spelling (63 priority)
Message: |
72 | The House of Representatives shall chuse their Speaker and other Officers; and
@@ -212,15 +202,6 @@ Suggest:
-Lint: Typo (31 priority)
-Message: |
- 72 | The House of Representatives shall chuse their Speaker and other Officers; and
- | ^~~~~ `chuse` should probably be written as `ch use`.
-Suggest:
- - Replace with: “ch use”
-
-
-
Lint: Readability (127 priority)
Message: |
86 | they shall be divided as equally as may be into three Classes. The Seats of the
@@ -266,15 +247,6 @@ Suggest:
-Lint: Typo (31 priority)
-Message: |
- 103 | The Senate shall chuse their other Officers, and also a President pro tempore,
- | ^~~~~ `chuse` should probably be written as `ch use`.
-Suggest:
- - Replace with: “ch use”
-
-
-
Lint: Redundancy (31 priority)
Message: |
103 | The Senate shall chuse their other Officers, and also a President pro tempore,
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 e4b5a7d38..c78d28704 100644
--- a/harper-core/tests/text/linters/The Great Gatsby.snap.yml
+++ b/harper-core/tests/text/linters/The Great Gatsby.snap.yml
@@ -4087,26 +4087,6 @@ Suggest:
-Lint: Spelling (63 priority)
-Message: |
- 2866 | intensity. Now, in the reaction, he was running down like an overwound clock.
- | ^~~~~~~~~ Did you mean to spell `overwound` this way?
-Suggest:
- - Replace with: “overground”
- - Replace with: “overfond”
- - Replace with: “overfund”
-
-
-
-Lint: Typo (31 priority)
-Message: |
- 2866 | intensity. Now, in the reaction, he was running down like an overwound clock.
- | ^~~~~~~~~ `overwound` should probably be written as `over wound`.
-Suggest:
- - Replace with: “over wound”
-
-
-
Lint: Style (31 priority)
Message: |
2872 | “I’ve got a man in England who buys me clothes. He sends over a selection of
diff --git a/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md b/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md
index 954a6f302..51cc83b56 100644
--- a/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md
+++ b/harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md
@@ -4605,7 +4605,7 @@
> So they began solemnly dancing round and round Alice , every now and then
# NSg/I/J/R/C IPl+ VPt R Nᴹ/Vg/J NSg/VB/J/P VB/C NSg/VB/J/P NPr+ . Dq NSg/J/R/C VB/C NSg/J/R/C
> treading on her toes when they passed too close , and waving their forepaws to
-# Nᴹ/Vg/J J/P ISg/D$+ NPl/V3+ NSg/I/C IPl+ VP/J R NSg/VB/J . VB/C Nᴹ/Vg/J D$+ ? P
+# Nᴹ/Vg/J J/P ISg/D$+ NPl/V3+ NSg/I/C IPl+ VP/J R NSg/VB/J . VB/C Nᴹ/Vg/J D$+ NPl P
> mark the time , while the Mock Turtle sang this , very slowly and sadly : —
# NPr/VB+ D N🅪Sg/VB/J+ . NSg/VB/C/P D NSg/VB/J NSg/VB+ NPr/VPt I/Ddem+ . J/R R VB/C R . .
>
diff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.md
index c9d699f4d..8c105cd7f 100644
--- a/harper-core/tests/text/tagged/The Great Gatsby.md
+++ b/harper-core/tests/text/tagged/The Great Gatsby.md
@@ -5729,7 +5729,7 @@
> end , waited with his teeth set , so to speak , at an inconceivable pitch of
# NSg/VB+ . VP/J P ISg/D$+ NPl+ NPr/VBP/J . NSg/I/J/R/C P NSg/VB . NSg/P D/P J NSg/VB/J P
> intensity . Now , in the reaction , he was running down like an overwound clock .
-# Nᴹ+ . NSg/J/R/C . NPr/J/R/P D+ N🅪Sg/VB/J+ . NPr/ISg+ VPt Nᴹ/Vg/J/P N🅪Sg/VB/J/P NSg/VB/J/C/P D/P ? NSg/VB+ .
+# Nᴹ+ . NSg/J/R/C . NPr/J/R/P D+ N🅪Sg/VB/J+ . NPr/ISg+ VPt Nᴹ/Vg/J/P N🅪Sg/VB/J/P NSg/VB/J/C/P D/P VP/J NSg/VB+ .
>
#
> Recovering himself in a minute he opened for us two hulking patent cabinets