Skip to content

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

Dictionary curation 2025 05 16 (#1290)

Andrew Dunbar24624ddf896e
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index 7ade35ca4..ac8ba87f8 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -2368,6 +2368,7 @@ Cordilleras/M
Cordoba/2M
Corey/2M
Corfu/2M
+Corg/21M # company
Corina/2M
Corine/M
Corinne/2M
@@ -7344,7 +7345,8 @@ Nevsky/M
Newark/2M
Newburgh/2M
Newcastle/2M
-Newfoundland/21MRS
+Newfoundland/21MS
+Newfoundlander/1SM
Newman/2M
Newport/2M
Newsweek/M
@@ -11546,6 +11548,7 @@ adjunct/~154MS
adjuration/1MS
adjure/4GDS
adjust/~4AGDSL
+adjustability/1M
adjustable/~51
adjuster/1SM
adjustment/~1AMS
@@ -12039,7 +12042,7 @@ alligator/~14MS
alliterate/4DSXGNV
alliteration/1M
alliterative/5Y
-allocate/~4ADSGNYC
+allocate/~4ADSGNYCB
allocation/~1AM
allocations/~1
allocator/1C
@@ -12660,7 +12663,7 @@ anywise/
aorta/1MS
aortic/~5
apace/
-apart/~51
+apart/~5 # removed `1` noun, probably imported from Wiktionary's misspelling sense!
apartheid/~14M
apartment/~1MS
apathetic/5Q
@@ -17305,6 +17308,7 @@ chromatin/~1M
chromatography/~1
chrome/~14MGDS
chromium/~1M
+chromoly/1M
chromosomal/~5
chromosome/~1MS
chronic/~51Q
@@ -17396,6 +17400,7 @@ circa/~+
circadian/5
circle/~14MGDS
circlet/1MS
+circlip/1MS
circuit/~14MDGS
circuital/5
circuitous/5YP
@@ -18645,6 +18650,7 @@ conquered/~4U
conqueror/~1MS
conquest/~14AM
conquistador/~1SM
+conrod/1MS
cons/~14DSG
consanguineous/5
consanguinity/1M
@@ -27219,6 +27225,7 @@ halcyon/~15
hale/~514ITGDRS
half/~154+M
halfback/~14SM
+halfcourt/
halfhearted/5PY
halfheartedness/1M
halfpence/1
@@ -28663,6 +28670,7 @@ hyperaggressive/5
hyperbola/1SM
hyperbole/~1M
hyperbolic/~5Q
+hypercar/1MS
hyperconservative/5
hypercritical/5Y
hypercube/1
@@ -32053,6 +32061,7 @@ longing/~41MYS
longish/5
longitude/~1MS
longitudinal/~51Y
+longnose/5
longshoreman/1M
longshoremen/9
longsighted/5
@@ -33538,7 +33547,7 @@ milky/~5RTP
mill/~14MDRSZGJ
millage/1M
millennia/~1
-millennial/51M
+millennial/51MS
millennium/~1MS
miller/~1M
millet/~1M
@@ -34515,7 +34524,8 @@ mummify/4GNDS
mummy/~14SM # "mother" sense is UK/AU, "mummified" sense is universal
mumps/14M
mun/~418
-munch/~41GDSR
+munch/~41GDS
+muncher/1MS
munchie/1S
munchies/1M
munchkin/1SM
@@ -37568,6 +37578,7 @@ peal/~14AMDSG
peanut/~14MS
pear/~1MYS
pearl/~14SGMD
+pearlescent/5
pearly/15RT
peasant/~15SM
peasantry/~1M
@@ -40901,6 +40912,7 @@ rebirth/~14M
reboard/4GDS
reboil/4SDG
rebox/4SDG
+rebuckle/4SDG
rebuild/~41SG
rebuke/14DSMG
rebuking/41Y
@@ -40974,6 +40986,7 @@ recon/~14S
reconcile/~4GDSB
reconciliation/~1S
recondite/514SM
+reconditioner/1MS
reconfiguration/1
reconfigure/4GDS
reconfigure/4D
@@ -46706,6 +46719,7 @@ superior/~51MS
superiority/~1M
superlative/~15SMY
superlinear/5Y
+supermajority/1MS
superman/~1M
supermarket/~1SM
supermassive/5
@@ -50092,6 +50106,7 @@ utensil/1SM
uteri/1
uterine/~51
uterus/~1M
+util/1MS
utilisation/1M!_
utilise/4GBDS!_
utilitarian/~51MS
@@ -52257,6 +52272,7 @@ CISC/1M # cpu architecture
CMOS/1 # microchip process
CMake/SM # build tool
CQL/1
+CRC/1MS # cyclic redundancy check
CRDT/1SM
CRM/12SM
CTE/1S
@@ -52599,6 +52615,7 @@ wikilink/~1SM # !! please check and comment !! elsewhere we have Wikilink
# But it will be able to include them in suggestions
a lot
+ad-free/5
ad nauseam/j
add-on/1MS
air-conditioned/5
@@ -52626,6 +52643,7 @@ blow-up/51MS
blue-blooded/5
blue-collar/5
bona fide/j5
+boot loader/1MS
break out/4
breaks out/4
Bretton Woods/2M
@@ -52672,6 +52690,8 @@ dire wolves/9
door to door/j
door-to-door/S
double-decker/5
+drop in/4
+drop-in/1MS5
e-book/1MS
easy peasy/5
editor in chief/1
@@ -52681,6 +52701,8 @@ et al./~
even-numbered/5
ever-present/5
ex-friend/1MS
+face off/4
+face-off/1MS
fact check/1S
fact-check/4SDG
fact-checking/1M
@@ -52718,6 +52740,7 @@ H-1B/1MS
habeas corpus/1
half cent/1MS
half-cocked/5
+half court/1M
half-life/1M
half-lives/9
ham-fisted/5
@@ -52736,6 +52759,7 @@ hi-tech/15
high definition/1M
high frequency/1MS
high-frequency/5
+high-grade/5
high-level/5
high-paying/5
high-pitched/5
@@ -52751,6 +52775,7 @@ hissy fit/1MS
holy moley
holy moly
home school/1MS4DG
+how come/j
Humpty Dumpty/2M
ice cream/1MS
in-depth/5
@@ -52817,6 +52842,7 @@ not-for-profit/51MS
object-oriented/5
odd-numbered/5
of course/j
+off-grid/5
off-limits/5
off-ramp/1MS
off-road/1MS
@@ -52824,6 +52850,7 @@ off-roader/1MS
off-roading/1M
off-the-books/5
okey-dokey/1MS
+old-fashioned/51
old-timey/5
Old World/2M
old-world/5
@@ -52896,6 +52923,7 @@ shout-out/1S
sign on/4
sign-on/1MS
single-handedly/j
+six-footer/1MS
six-pack/1MS
so-called/5
socio-political/5
@@ -52914,6 +52942,8 @@ stand-up/51
standard-bearer/1MS
stay behind/4
stay-behind/1MS
+straight up/j
+straight-up/5
surface-to-air/5
suss out/4
sussed out/4
@@ -53018,6 +53048,7 @@ log off/4
log on/4
log out/4
look up/4
+low fidelity/5
meet up/4
melt down/4
pick up/4
diff --git a/harper-core/src/spell/mutable_dictionary.rs b/harper-core/src/spell/mutable_dictionary.rs
index 32c0a23df..2c94077c2 100644
--- a/harper-core/src/spell/mutable_dictionary.rs
+++ b/harper-core/src/spell/mutable_dictionary.rs
@@ -388,4 +388,11 @@ mod tests {
spread.word_map.into_iter().collect::<HashSet<_>>()
);
}
+
+ #[test]
+ fn apart_is_not_noun() {
+ let dict = MutableDictionary::curated();
+
+ assert!(!dict.get_word_metadata_str("apart").unwrap().is_noun());
+ }
}
diff --git a/harper-core/tests/text/linters/Computer science.snap.yml b/harper-core/tests/text/linters/Computer science.snap.yml
index aa021a465..d44a0e010 100644
--- a/harper-core/tests/text/linters/Computer science.snap.yml
+++ b/harper-core/tests/text/linters/Computer science.snap.yml
@@ -1009,9 +1009,9 @@ Message: |
393 | term "architecture" in computer literature can be traced to the work of Lyle R.
| ^~ Did you mean to spell `R.` this way?
Suggest:
- - Replace with: “Rm”
- Replace with: “Re”
- - Replace with: “RC”
+ - Replace with: “R”
+ - Replace with: “Rd”
diff --git a/harper-core/tests/text/linters/Difficult sentences.snap.yml b/harper-core/tests/text/linters/Difficult sentences.snap.yml
index adb4ad1b5..ab752976f 100644
--- a/harper-core/tests/text/linters/Difficult sentences.snap.yml
+++ b/harper-core/tests/text/linters/Difficult sentences.snap.yml
@@ -280,7 +280,7 @@ Message: |
| ^~ Did you mean to spell `PR` this way?
Suggest:
- Replace with: “Pro”
- - Replace with: “P”
+ - Replace with: “Pa”
- Replace with: “Par”
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 8e3434809..a07d3ff00 100644
--- a/harper-core/tests/text/linters/The Great Gatsby.snap.yml
+++ b/harper-core/tests/text/linters/The Great Gatsby.snap.yml
@@ -2277,9 +2277,9 @@ Message: |
1858 | farther out on the Island came the Cheadles and the O. R. P. Schraeders, and the
| ^~ Did you mean to spell `R.` this way?
Suggest:
- - Replace with: “Rm”
- Replace with: “Re”
- - Replace with: “RC”
+ - Replace with: “R”
+ - Replace with: “Rd”
diff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.md
index 4cd86c230..bee7dca4d 100644
--- a/harper-core/tests/text/tagged/The Great Gatsby.md
+++ b/harper-core/tests/text/tagged/The Great Gatsby.md
@@ -315,7 +315,7 @@
> windows , glowing now with reflected gold and wide open to the warm windy
# NPrPl/V . NSg/V/J NPrSg/V/J/C P V/J NSg/V/J V/C NSg/J NSg/V/J P D NSg/J NSg/J
> afternoon , and Tom Buchanan in riding clothes was standing with his legs apart
-# NSg . V/C NPrSg/V NPr NPrSg/J/P NSg/V NPl/V V NSg/V/J P ISg/D NPl NSg/J
+# NSg . V/C NPrSg/V NPr NPrSg/J/P NSg/V NPl/V V NSg/V/J P ISg/D NPl J
> on the front porch .
# P D NSg/J NSg .
>
@@ -2013,7 +2013,7 @@
> “ You see , ” cried Catherine triumphantly . She lowered her voice again . “ It’s
# . IPl NSg/V . . V/J NPr J/R . ISg V/J I/J/D NSg/V P . . W?
> really his wife that’s keeping them apart . She’s a Catholic , and they don’t
-# J/R ISg/D NSg N$ NSg/V N/I NSg/J . W? D/P NSg/J . V/C IPl V
+# J/R ISg/D NSg N$ NSg/V N/I J . W? D/P NSg/J . V/C IPl V
> believe in divorce . ”
# V NPrSg/J/P NSg/V . .
>
@@ -3461,7 +3461,7 @@
> Reading over what I have written so far , I see I have given the impression that
# NPrSg/V NSg/V/J/P NSg/I ISg NSg/VX V/J NSg/I/J/C NSg/V/J . ISg NSg/V ISg NSg/VX NSg/V/J/P D NSg N/I/C/D
> the events of three nights several weeks apart were all that absorbed me . On the
-# D NPl P NSg NPl/V J/D NPrPl NSg/J NSg/V NSg/I/J/C N/I/C/D V/J NPrSg/ISg . P D
+# D NPl P NSg NPl/V J/D NPrPl J NSg/V NSg/I/J/C N/I/C/D V/J NPrSg/ISg . P D
> contrary , they were merely casual events in a crowded summer , and , until much
# NSg/J . IPl NSg/V J/R NSg/J NPl/V P D/P J NPrSg/V . V/C . C/P N/I/J
> later , they absorbed me infinitely less than my personal affairs .
@@ -7869,7 +7869,7 @@
> there before I realized that so far his suspicions hadn’t alighted on Tom . He
# W? C/P ISg V/J N/I/C/D NSg/I/J/C NSg/V/J ISg/D NPl V V/J J/P NPrSg/V . NPr/ISg
> had discovered that Myrtle had some sort of life apart from him in another
-# V V/J N/I/C/D NPrSg V I/J/R NSg/V P NSg/V NSg/J P I P I/D
+# V V/J N/I/C/D NPrSg V I/J/R NSg/V P NSg/V J P I P I/D
> world , and the shock had made him physically sick . I stared at him and then at
# NSg/V . V/C D NSg/J V NSg/V I J/R NSg/V/J . ISg V/J NSg/I/V/P I V/C NSg/J/C NSg/I/V/P
> Tom , who had made a parallel discovery less than an hour before — and it occurred