Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Dictionary curation 2025 05 13 (#1264)
Andrew Dunbarc20f80c5a5d8
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex f6060cbd1..0c846f1fd 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -9635,7 +9635,6 @@ Studebaker/2MStuttgart/21MStuyvesant/MStygian/51M-Styrofoam/SMStyron/2MStyx/2MSuarez/2M@@ -14069,6 +14068,7 @@ beachcomber/1SMbeachfront/51beachgoer/1MSbeachhead/~1MS+beachside/1MS5beachwear/1Mbeacon/~14SMbead/~14SGMD@@ -15703,7 +15703,7 @@ bugged/45Cbugger/14SMDGbuggery/1bugging/41C-buggy/~15RSMT+buggy/~15RSMTPbugle/~145DRSMZGbugler/1Mbuild/~41SMRZGJAB@@ -18297,7 +18297,7 @@ competitive/~5PYcompetitiveness/~1Mcompetitor/~1SMcompilation/~1SM-compile/~41DRSZG+compile/~41DRSZGBcompiler/~1Mcomplacence/1Mcomplacency/1M@@ -20328,6 +20328,8 @@ declivity/1SMdecoherence/1decolletage/1SMdecollete/5+decompilation/1MS+decompile/4SDGdecongestant/1MSdeconstructionism/1decor/1MS@@ -21176,7 +21178,7 @@ dire/~5YTRdirect/~54ASDGVTdirecter/51direction/~1IM-directional/~51Y+directional/~5Y1MSdirectionality/1Mdirectionless/5directions/~1@@ -22490,7 +22492,7 @@ elderberry/1SMeldercare/1Meldest/~51eldritch/~5-elect/~145ASGV+elect/~145SGVelect'selectable/51elected/451MS@@ -26919,6 +26921,7 @@ gruff/541TPRYgruffness/1Mgrumble/14DRSMZGJgrumbler/1M+grumbly/5grump/14SMgrumpily/jgrumpiness/1M@@ -29607,7 +29610,7 @@ inkstand/1SMinkwell/1MSinky/5RTPinland/~51M-inline/~541+inline/~541MSDGinmate/~1SMinmost/51inn/~14SGMRJ@@ -36036,6 +36039,7 @@ oil/~14SGMDoilcan/1Soilcloth/1Moilcloths/1+oiler/1MSoilfield/1Soiliness/1Moilman/1M@@ -41059,6 +41063,7 @@ reefer/1Mreek/~14GMDSreel/~14UGDSreel's+reelect/4DSGreentrant/5reeve/~14Greexecute/4SDG@@ -41271,6 +41276,7 @@ religiosity/1religious/~51MYPreligiousness/1Mreline/41DSG+relink/4DSGrelinquish/~4LDSGrelinquishment/1Mreliquary/~1SM@@ -43798,6 +43804,7 @@ shopaholic/1MSshopfitter/1Sshopfitting/1shopfront/1S+shophouse/1MSshopkeeper/1MSshoplift/14DRZGSshoplifter/1M@@ -43851,6 +43858,7 @@ shovel/~14MDSGshovelful/1SMshovelled/4!@_shovelling/41!@_+shovelware/1Mshow/~41JZGMDRSshowbiz/~1Mshowboat/14MDGS@@ -46265,6 +46273,7 @@ stylus/~1MSstymie/14MDSstymieing/4styptic/51SM+styrofoam/1SMsuasion/1EMsuave/51RYTPsuaveness/1M@@ -49787,6 +49796,8 @@ unobservant/5unobtanium/1Munoffensive/5unofficial/~5Y+unopen/5+unoptimized/45unoriginal/51unpause/4DSGunpayable/5@@ -52248,6 +52259,7 @@ DRM/1M # digital rights managementDSL/1SM # domain-specific languageDeepMind/2MDevOps/SM+DirectX/2MDreamcast/2MS # game consoleEGR/ # exhaust gas recirculationEMR/12SM@@ -52276,6 +52288,7 @@ GPU/1S # graphics processing unitGaneti/SMGateron/SMGerber/1M # file format+Ghidra/2M # reverse engineeringGitLab/SM # GitHub alternativeGmail/214SMGolang/SM # programming language@@ -52291,6 +52304,7 @@ Harper/SM # surname; grammar checkerHasan/2SM # surname, given nameHiera/SMHolmdel/SM+IDA/2M # reverse engineeringIMAP/2SM # internet message access protocolIPC/1M # interprocess communicationIPCC/2M@@ -52337,6 +52351,7 @@ Lua/SM # programming languageMMX/1M # multimedia extensionMPC/21MMSNBC/2M # media company+MSVC # Microsoft Visual C++MTA/1SMMacBook/2SM # Apple productManilas/1@@ -52417,6 +52432,7 @@ Rivian/SM # ev companyRoumania/2M # pre-WWII spellingSCM/1M # source code managementSDK/1SM # software development kit+SDL/2M # Simple DirectMedia LayerSIMD/1SM # single instruction, multiple dataSLA/1SMSNL/2M # Saturday Night Live@@ -52452,6 +52468,7 @@ TikTok/SMTodo # FIXME! elsewhere in Harper we refer to TODO and to-doToronado/2MS # car brandTree-sitter/M2 # parsing+Trinitron/12MS # CRTTrocla/SMTrueNAS/SMTumblr/2M@@ -52511,6 +52528,7 @@ backend/1SM # dictionaries prefer: back endbaz/~ # cf. foo, barconfig/14SM # not marked as a verb since "configed" and "configing" look wrongcorpo/1MS+decomp/1MS4DG # decompile/decompilationdedup/1M # not well covered by dictionaries. wiktionary has only singular noun. cf. dedupededupe/14SMDG # not well covered by dictionaries. wiktionary has noun and verb. cf. dedupdotfile/~1SM # not well covered by dictionaries.@@ -52545,7 +52563,6 @@ tagset/1MSvid/1MS # videowhitespace/~1SM # dictionaries prefer: white spacewikilink/~1SM # !! please check and comment !! elsewhere we have Wikilink-handedly# Experimental multi-word entries# Harper may not recognize these as words in documents@@ -52554,9 +52571,11 @@ handedlya lotad nauseam/jadd-on/1MS+air-conditioned/5air-cooled/5all-new/5all-nighter/1MS+all-rounder/1MSall-woman/5alma mater/1Manarcho-punk/15MS@@ -52580,6 +52599,7 @@ bona fide/j5break out/4breaks out/4Bretton Woods/2M+brute force/1MS4DGbuilt-in/1MS5built-up/5car bomb/1MS@@ -52642,6 +52662,7 @@ forward-thinking/5four-speed/1MSfront-line/5front man/1M+front wheel/1MS5full on/5jfull-on/5jfull-scale/5@@ -52713,6 +52734,7 @@ last minute/15last-minute/5lead off/1M4lead-up/1MS+left-hand/5left-wing/5lesser-known/5live action/1@@ -52742,6 +52764,7 @@ mind game/1MSmock up/4mock-up/1MSmoon landing/1MS+motor ship/1MSmultiple-choice/5nail biter/1MSnano-farad/1MS@@ -52992,3 +53015,4 @@ work out/4# And they will be reviewed# Word added using the `just addnoun` command will be added here+handedlydiff --git a/harper-core/src/linting/adjective_of_a.rs b/harper-core/src/linting/adjective_of_a.rsindex d15b67e70..397dac740 100644--- a/harper-core/src/linting/adjective_of_a.rs+++ b/harper-core/src/linting/adjective_of_a.rs@@ -23,6 +23,7 @@ const FALSE_POSITIVES: &[&str] = &[// The word is used more as a noun in this context.// (using .kind.is_likely_homograph() here is too strict)"back",+ "bastard","bit","borderline","bottom",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.ymlindex 8a85ffdfa..a9cecea13 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@@ -1324,8 +1324,9 @@ Lint: Spelling (63 priority)Message: |961 | her foot, that there was hardly room to open her mouth; but she did it at last,962 | and managed to swallow a morsel of the lefthand bit.- | ^~~~~~~~ Did you mean `leftward`?+ | ^~~~~~~~ Did you mean to spell `lefthand` this way?Suggest:+ - Replace with: “left-hand”- Replace with: “leftward”@@ -1639,9 +1640,10 @@ Message: |Lint: Spelling (63 priority)Message: |1349 | did not like to go nearer till she had nibbled some more of the lefthand bit of- | ^~~~~~~~ Did you mean `leftward`?+ | ^~~~~~~~ Did you mean to spell `lefthand` this way?1350 | mushroom, and raised herself to about two feet high: even then she walked upSuggest:+ - Replace with: “left-hand”- Replace with: “leftward”@@ -2953,7 +2955,7 @@ Message: |2485 | > evening, beautiful Soup! Beau—ootiful Soo—oop! Beau—ootiful Soo—oop! Soo—oop| ^~~ Did you mean to spell `Soo` this way?Suggest:- - Replace with: “Son”+ - Replace with: “Sop”- Replace with: “Soho”- Replace with: “Soto”@@ -2986,7 +2988,7 @@ Message: |2485 | > evening, beautiful Soup! Beau—ootiful Soo—oop! Beau—ootiful Soo—oop! Soo—oop| ^~~ Did you mean to spell `Soo` this way?Suggest:- - Replace with: “Son”+ - Replace with: “Sop”- Replace with: “Soho”- Replace with: “Soto”@@ -3009,7 +3011,7 @@ Message: || ^~~ Did you mean to spell `Soo` this way?2486 | > of the e—e—evening, Beautiful, beautiful Soup!Suggest:- - Replace with: “Son”+ - Replace with: “Sop”- Replace with: “Soho”- Replace with: “Soto”@@ -3063,7 +3065,7 @@ Message: |2490 | > beautiful Soup? Beau—ootiful Soo—oop! Beau—ootiful Soo—oop! Soo—oop of the| ^~~ Did you mean to spell `Soo` this way?Suggest:- - Replace with: “Son”+ - Replace with: “Sop”- Replace with: “Soho”- Replace with: “Soto”@@ -3096,7 +3098,7 @@ Message: |2490 | > beautiful Soup? Beau—ootiful Soo—oop! Beau—ootiful Soo—oop! Soo—oop of the| ^~~ Did you mean to spell `Soo` this way?Suggest:- - Replace with: “Son”+ - Replace with: “Sop”- Replace with: “Soho”- Replace with: “Soto”@@ -3119,7 +3121,7 @@ Message: || ^~~ Did you mean to spell `Soo` this way?2491 | > e—e—evening, Beautiful, beauti—FUL SOUP!”Suggest:- - Replace with: “Son”+ - Replace with: “Sop”- Replace with: “Soho”- Replace with: “Soto”@@ -3194,7 +3196,7 @@ Message: |2503 | > “Soo—oop of the e—e—evening, Beautiful, beautiful Soup!”| ^~~ Did you mean to spell `Soo` this way?Suggest:- - Replace with: “Son”+ - Replace with: “Sop”- Replace with: “Soho”- Replace with: “Soto”diff --git a/harper-core/tests/text/linters/The Great Gatsby.snap.yml b/harper-core/tests/text/linters/The Great Gatsby.snap.ymlindex 3d17ea0c1..ce07c7404 100644--- a/harper-core/tests/text/linters/The Great Gatsby.snap.yml+++ b/harper-core/tests/text/linters/The Great Gatsby.snap.yml@@ -1103,8 +1103,8 @@ Message: |784 | We backed up to a gray old man who bore an absurd resemblance to John D.| ^~ Did you mean to spell `D.` this way?Suggest:- - Replace with: “D”- Replace with: “Dc”+ - Replace with: “Dd”- Replace with: “Do”@@ -1364,8 +1364,8 @@ Message: || ^~~ Did you mean to spell `Dai` this way?Suggest:- Replace with: “Day”- - Replace with: “Dab”- Replace with: “Dad”+ - Replace with: “Dais”@@ -2544,9 +2544,9 @@ Message: |1871 | afterward strangled his wife. Da Fontano the promoter came there, and Ed Legros| ^~ Did you mean to spell `Da` this way?Suggest:- - Replace with: “D”- Replace with: “Dab”- Replace with: “Dad”+ - Replace with: “Dag”@@ -2602,9 +2602,9 @@ Message: || ^~ Did you mean to spell `De` this way?1873 | gamble, and when Ferret wandered into the garden it meant he was cleaned out andSuggest:- - Replace with: “D”- Replace with: “Dc”- - Replace with: “Dev”+ - Replace with: “Dd”+ - Replace with: “Deb”@@ -5248,7 +5248,7 @@ Message: || ^~~ Did you mean to spell `Asa` this way?4084 | brought him around at the last minute and asked if we had room for him.”Suggest:- - Replace with: “Ask”+ - Replace with: “Ass”- Replace with: “Ada”- Replace with: “Ala”