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.dictindex 7ade35ca4..ac8ba87f8 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -2368,6 +2368,7 @@ Cordilleras/MCordoba/2MCorey/2MCorfu/2M+Corg/21M # companyCorina/2MCorine/MCorinne/2M@@ -7344,7 +7345,8 @@ Nevsky/MNewark/2MNewburgh/2MNewcastle/2M-Newfoundland/21MRS+Newfoundland/21MS+Newfoundlander/1SMNewman/2MNewport/2MNewsweek/M@@ -11546,6 +11548,7 @@ adjunct/~154MSadjuration/1MSadjure/4GDSadjust/~4AGDSL+adjustability/1Madjustable/~51adjuster/1SMadjustment/~1AMS@@ -12039,7 +12042,7 @@ alligator/~14MSalliterate/4DSXGNValliteration/1Malliterative/5Y-allocate/~4ADSGNYC+allocate/~4ADSGNYCBallocation/~1AMallocations/~1allocator/1C@@ -12660,7 +12663,7 @@ anywise/aorta/1MSaortic/~5apace/-apart/~51+apart/~5 # removed `1` noun, probably imported from Wiktionary's misspelling sense!apartheid/~14Mapartment/~1MSapathetic/5Q@@ -17305,6 +17308,7 @@ chromatin/~1Mchromatography/~1chrome/~14MGDSchromium/~1M+chromoly/1Mchromosomal/~5chromosome/~1MSchronic/~51Q@@ -17396,6 +17400,7 @@ circa/~+circadian/5circle/~14MGDScirclet/1MS+circlip/1MScircuit/~14MDGScircuital/5circuitous/5YP@@ -18645,6 +18650,7 @@ conquered/~4Uconqueror/~1MSconquest/~14AMconquistador/~1SM+conrod/1MScons/~14DSGconsanguineous/5consanguinity/1M@@ -27219,6 +27225,7 @@ halcyon/~15hale/~514ITGDRShalf/~154+Mhalfback/~14SM+halfcourt/halfhearted/5PYhalfheartedness/1Mhalfpence/1@@ -28663,6 +28670,7 @@ hyperaggressive/5hyperbola/1SMhyperbole/~1Mhyperbolic/~5Q+hypercar/1MShyperconservative/5hypercritical/5Yhypercube/1@@ -32053,6 +32061,7 @@ longing/~41MYSlongish/5longitude/~1MSlongitudinal/~51Y+longnose/5longshoreman/1Mlongshoremen/9longsighted/5@@ -33538,7 +33547,7 @@ milky/~5RTPmill/~14MDRSZGJmillage/1Mmillennia/~1-millennial/51M+millennial/51MSmillennium/~1MSmiller/~1Mmillet/~1M@@ -34515,7 +34524,8 @@ mummify/4GNDSmummy/~14SM # "mother" sense is UK/AU, "mummified" sense is universalmumps/14Mmun/~418-munch/~41GDSR+munch/~41GDS+muncher/1MSmunchie/1Smunchies/1Mmunchkin/1SM@@ -37568,6 +37578,7 @@ peal/~14AMDSGpeanut/~14MSpear/~1MYSpearl/~14SGMD+pearlescent/5pearly/15RTpeasant/~15SMpeasantry/~1M@@ -40901,6 +40912,7 @@ rebirth/~14Mreboard/4GDSreboil/4SDGrebox/4SDG+rebuckle/4SDGrebuild/~41SGrebuke/14DSMGrebuking/41Y@@ -40974,6 +40986,7 @@ recon/~14Sreconcile/~4GDSBreconciliation/~1Srecondite/514SM+reconditioner/1MSreconfiguration/1reconfigure/4GDSreconfigure/4D@@ -46706,6 +46719,7 @@ superior/~51MSsuperiority/~1Msuperlative/~15SMYsuperlinear/5Y+supermajority/1MSsuperman/~1Msupermarket/~1SMsupermassive/5@@ -50092,6 +50106,7 @@ utensil/1SMuteri/1uterine/~51uterus/~1M+util/1MSutilisation/1M!_utilise/4GBDS!_utilitarian/~51MS@@ -52257,6 +52272,7 @@ CISC/1M # cpu architectureCMOS/1 # microchip processCMake/SM # build toolCQL/1+CRC/1MS # cyclic redundancy checkCRDT/1SMCRM/12SMCTE/1S@@ -52599,6 +52615,7 @@ wikilink/~1SM # !! please check and comment !! elsewhere we have Wikilink# But it will be able to include them in suggestionsa lot+ad-free/5ad nauseam/jadd-on/1MSair-conditioned/5@@ -52626,6 +52643,7 @@ blow-up/51MSblue-blooded/5blue-collar/5bona fide/j5+boot loader/1MSbreak out/4breaks out/4Bretton Woods/2M@@ -52672,6 +52690,8 @@ dire wolves/9door to door/jdoor-to-door/Sdouble-decker/5+drop in/4+drop-in/1MS5e-book/1MSeasy peasy/5editor in chief/1@@ -52681,6 +52701,8 @@ et al./~even-numbered/5ever-present/5ex-friend/1MS+face off/4+face-off/1MSfact check/1Sfact-check/4SDGfact-checking/1M@@ -52718,6 +52740,7 @@ H-1B/1MShabeas corpus/1half cent/1MShalf-cocked/5+half court/1Mhalf-life/1Mhalf-lives/9ham-fisted/5@@ -52736,6 +52759,7 @@ hi-tech/15high definition/1Mhigh frequency/1MShigh-frequency/5+high-grade/5high-level/5high-paying/5high-pitched/5@@ -52751,6 +52775,7 @@ hissy fit/1MSholy moleyholy molyhome school/1MS4DG+how come/jHumpty Dumpty/2Mice cream/1MSin-depth/5@@ -52817,6 +52842,7 @@ not-for-profit/51MSobject-oriented/5odd-numbered/5of course/j+off-grid/5off-limits/5off-ramp/1MSoff-road/1MS@@ -52824,6 +52850,7 @@ off-roader/1MSoff-roading/1Moff-the-books/5okey-dokey/1MS+old-fashioned/51old-timey/5Old World/2Mold-world/5@@ -52896,6 +52923,7 @@ shout-out/1Ssign on/4sign-on/1MSsingle-handedly/j+six-footer/1MSsix-pack/1MSso-called/5socio-political/5@@ -52914,6 +52942,8 @@ stand-up/51standard-bearer/1MSstay behind/4stay-behind/1MS+straight up/j+straight-up/5surface-to-air/5suss out/4sussed out/4@@ -53018,6 +53048,7 @@ log off/4log on/4log out/4look up/4+low fidelity/5meet up/4melt down/4pick up/4diff --git a/harper-core/src/spell/mutable_dictionary.rs b/harper-core/src/spell/mutable_dictionary.rsindex 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.ymlindex 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.ymlindex 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.ymlindex 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.mdindex 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