Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Dictionary Curation 2025-05-01 (#3279)
Andrew Dunbar34ee8c18ff03
diff --git a/harper-core/annotations.json b/harper-core/annotations.jsonindex a433a2826..0d4483c47 100644--- a/harper-core/annotations.json+++ b/harper-core/annotations.json@@ -84,7 +84,7 @@"base_metadata": {}},"H": {- "#": "'-ieth' suffix",+ "#": "'-(ie)th' suffix","kind": "suffix","cross_product": false,"replacements": [diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex 8f6a410b4..63aef0496 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -1,4 +1,4 @@-54600+54700# Start of original dictionary import# combined with dialect spelling dictionary import.@@ -664,6 +664,7 @@ Aron/OgArrhenius/OgArron/OgArt/Og+Art Deco/OmgArtaxerxes/OgArtemis/OgArthur/ONg@@ -1661,10 +1662,10 @@ CD-ROM/NgSCDC/ONCDMX/Og # Mexico City, see also DFCDT/N-CEO/NgS # chief executive officer+CEO/NOgS # chief executive officerCF/NOJCFC/ONg-CFO/NO # financial officer+CFO/NOgS # chief financial officerCGI/NOV # computer graphics interface; common gateway interfaceCIA/ONgJ # agencyCID/NO@@ -1682,6 +1683,7 @@ COD/ONCOFF/ONg # common object file formatCOL/ONCOLA/NO+COO/NOgS # chief operating officerCOVID/N # virusCO₂/NCPA/Ng@@ -1694,6 +1696,7 @@ CSS/NOgCST/ONgCSV/Ng # data file formatCT/ONgVJ # US state (Connecticut)+CTO/NOgS # chief technology officerCUDA/ONg # computing architectureCV/NOSJ # curriculum vitaeCVS/NOg # version control@@ -2495,6 +2498,7 @@ Crosby/OgCross/OgCrow/NOSgCrowley/Og+Croydon/OgCrucifixion/OgSCruikshank/OgCruise/Og@@ -4246,6 +4250,7 @@ HIMARS/NHIV/NgHM/NOHMO/Ng+HMRC/Og!HMS/NHOV/NHP/ONg@@ -5314,6 +5319,7 @@ Justinian/OgJJutland/OgJuvenal/OgK/ # Potassium+K-pop/NmgKB/NOg # kilobyte, cf. KbKC/ONKFC/Og # company@@ -7246,6 +7252,7 @@ NFL/ONg # sports organizationNGO/NgS # non-government organizationNH/ONVJ # US state (New Hampshire)NHL/NOg # sports organization+NHS/OgNIH/OJ # National Institutes of HealthNIMBY/NJ # not in my backyardNJ/OJ # US state (New Jersey)@@ -7591,7 +7598,7 @@ OCR/ONV # optical character recognitionOD/NSgVOE/ONJVOECD/Og # organization-OED/O # dictionary+OED/Og # dictionaryOEM/JNgS # original equipment manufacturerOH/ON # US state (Ohio)OHSA/g # law@@ -8785,7 +8792,8 @@ Roku/gRolaids/gRoland/OgRolando/g-Rolex/Ng+Rolex/OgS+Rolf/OgRolland/OgRollerblade/gRollins/Og@@ -11036,6 +11044,7 @@ Xerxes/OgXhosa/NgXi'an/OgXian/ONSgJ+Xiamen/Og # city in chinaXiaomi/OgXiaoping/gXimenes/g@@ -11138,6 +11147,7 @@ Yvette/ONgYvonne/OgZ/NSg^nXZ80/NOSg+Zach/OgZachariah/OgZachary/OgZachery/Og@@ -11228,6 +11238,7 @@ Zyuganov/gZzza/~DP(a lot+a.k.a./a.m./aah/NVaardvark/~NSg@@ -12140,6 +12151,7 @@ algae/~N9Salgal/~JNalgebra/~NwSgalgebraic/~JQ+algo/NgS†algorithm/~NSgalgorithmic/JQalias/~NgSVGd@@ -15642,6 +15654,7 @@ bramble/NgSVbrambly/Jbran/~Ngbranch/~NgSVGd+branchless/Jbranchlike/Jbrand/~NgSVGd>Zrbranded/~JVtTU@@ -15933,6 +15946,7 @@ bu/~Nbub/NSgVbubble/~NSgVdG>bubble tea/NwgS+bubble wrap/Nmgbubblegum/~NmgJbubbly/J>^Nmgbubo/N0g@@ -18268,6 +18282,8 @@ cohesive/~JYpNcohesiveness/Ngcoho/NgScohort/~NSgV+cohost/NgSVdG+co-host/NgScoif/NgSVcoiffed/VtTcoiffing/V6@@ -20330,7 +20346,7 @@ customizability/Nmgcustomizable/Jcustomization/~NwgScustomize/VdSG-cut/~VbtT>SJ^Ng+cut/~VbtT>SJNgcut back/V/cut off/V/cut over/V/@@ -20338,7 +20354,7 @@ cut scene/NgScutaneous/~Jcutaway/JNgScutback/NgS-cute/~JYp+cute/~JYp>^cuteness/~Nmgcutesy/J^>cutey/NS@@ -20519,6 +20535,7 @@ darken/~VGd>Zdarkener/Ngdarkie/NSdarkness/~Nmg+darknet/NgSdarkroom/NgSdarling/~NgSJdarn/~J>VGdSNgZ@@ -21728,6 +21745,7 @@ discussion/~NwSgdisdain/~NmSgVdGdisdainful/JYdisease/NwSg+diseased/Jdisembowel/VSdGLdisembowelled/VtT!@_₹disembowelling/V6N!@_₹@@ -24999,6 +25017,7 @@ film/~NwgSVdGfilminess/NgMfilmmaker/~NSgfilmmaking/NgM+filmography/NwgSfilmstrip/NgSfilmy/J^>pfilo/N@@ -25358,6 +25377,8 @@ flipper/NgSJcflippest/Juflipping/~V6JNflippy/JNS+flipside/NgS # main spelling in several dictionaries+flip-side/NgS # 'also' spelling in several dictionariesflirt/NSgVGdJflirtation/NgSflirtatious/JYp@@ -27989,6 +28010,7 @@ harbour/NgSVGd!@_₹harbourmaster/NS!@_₹hard/~J>Y^pNwRynX # removed `V` verb sense is obsoletehard code/VSdG+hard copy/NsGhard-pressed/Jhard right/Nghard-right/J@@ -28137,6 +28159,7 @@ hawkishness/Nmghawser/NSghawthorn/~NwgShay/~NmSgVGd+hay fever/Nmghaycock/NSghayloft/NSghaymaker/NS@@ -28797,6 +28820,9 @@ homely/J>^phomemade/~Jhomemaker/NSghomemaking/Nmg+homeomorphic/J+homeomorphism/+homeomorphous/Jhomeopath/N0ghomeopathic/JNhomeopaths/N9@@ -29881,7 +29907,7 @@ impure/~JY^>Vimpurity/~NSgimputation/NSgimpute/VdSGB-in/~PJR(rg # removed `4`, verb senses are obsolete, `NS`, noun sense is marginal+in/~PJR(g # removed `4`, verb senses are obsolete, `NS`, noun sense is marginalin addition # dictionaries don't list this with a POS, or use 'phrase'in addition to/Pin-depth/J@@ -30330,10 +30356,11 @@ inland/~JNginline/~JVdGSNginmate/~NSginmost/JN-inn/~NSgVG>z+inn/~NSgVGinnards/Nginnate/~JYpVinnateness/Ng+inner/JNgSinnermost/~JNinnersole/NSginnerspring/J@@ -31240,7 +31267,8 @@ jointly/~RyWjoist/NSgVjojoba/~Njoke/~NgSVGd>Z-joker/~Ng+joker/~NgS+jokestar/NgSjokey/Jjokier/Jcjokiest/Ju@@ -32602,6 +32630,7 @@ lisper/Nglissom/J!_₹lissome/Jlist/~NgSVdGnzX+list box/NgSlisted/~VJUlisteme/NgSlisten/~Vd>GNgBZ@@ -32657,6 +32686,7 @@ livability/Nmglivable/JUlive/~VGdSJ^rBlive action/Nmg+liveability/Nmgliveable/J!_₹livelihood/~NSgliveliness/Nmg@@ -35551,7 +35581,7 @@ mythology/~NwSgmythos/Nmgmyths/~N9myxomatosis/Nmg-n/NJ^CiKH+n/NJCH # i was in-; K was pro-; ^ was -est; C is conjnaan/NwSnab/VSNnabbed/VtT@@ -37593,6 +37623,7 @@ overcritical/Jovercrowd/VSdGovercrowding/~VNgoverdecorate/VdSG+overdependence/Nmgoverdependent/Joverdevelop/VSdGoverdid/V@@ -39701,6 +39732,7 @@ pluckiness/Ngplucky/J>^pplug/~NSVUplug in/V/+plug-in/JNgSplug'spluggable/Jplugged/~VtTU@@ -40846,6 +40878,7 @@ promptness/Nmgpromulgate/VGdSnpromulgation/~Nmgpromulgator/NgS+pron/N # previously generated by N/Kpronatalist/NgSJprone/~JpVproneness/Nmg@@ -41914,6 +41947,8 @@ rcpt/Nrd/~Nre/PNSg(vzre-enable/VdSG+re-enslave/VdSG+re-enslavement/Nmgreach/~VdGSNgBreachable/~JNUreacquire/VdSG@@ -42354,7 +42389,7 @@ reimagined/VtTJreimburse/VdSGBLreimbursement/NgSreimplementation/NmgS-rein/~NVGd+rein/~NgSVGdreindeer/~NgVreinforce/~VGdSLreinforcement/~NSg@@ -43862,6 +43897,7 @@ scale/~NwSVGdescale'sscaleless/Jscalene/JN+scaler/NgSscaliness/Ngscallion/NgSscallop/NSgVGd@@ -44986,6 +45022,9 @@ shithead/NSxshitless/Jxshitload/NSxshitpost/NgSdGx+shit show/NgS # main entry in: MW+shitshow/NgS # 'also' in: MW+shit-show/NgS # 'also' in: MWshitted/VtTxshitting/NV6Jxshitty/J>^x@@ -45138,6 +45177,9 @@ shrilly/JRyshrimp/~NwgS09Vd>GZ # singular and plural, also has a plural in -sshrine/~NgSVshrink/~VGSNgB+shrink-wrap/VSNg+shrink-wrapped/VtTJ+shrink-wrapping/V6shrinkage/Nmgshrinker/NgSshrinkflation/Nmg@@ -45403,6 +45445,7 @@ sinuosity/Ngsinuous/JYsinus/~NgSsinusitis/Ng+sinusoid/NSgsinusoidal/~JNsip/~NSgVsiphon/~NgSVGd@@ -49384,6 +49427,7 @@ thwack/VGd>SNgZthwacker/Ngthwart/~JPVGdSNgthy/~D+thylacine/NgSthyme/~Ngthymine/Ngthymus/NgS@@ -53814,11 +53858,11 @@ Brembo/OgS # brake companyBtrfs/Ng # file systemBurpSuite/ONSgC++/OgS # programming language+CAN bus/NSg # communication protocolCAPTCHA/NgSCCP/OS # Chinese Communist PartyCDMA/NSgCDN/NSg # content delivery network-CEO/NSg # chief executive officerCERN/Og # intergovernmental organizationCI/NSg # continuous integrationCISC/Ng # cpu architecture@@ -53888,6 +53932,7 @@ DuckDuckGo/Og # search engineDuolingo/Og # language appEBITDA/N # earnings before interest, taxes, depreciation, and amortizationECMA/Og # European Computer Manufacturers Association+ECU/NgS # engine/electronic control unitEEA/O # European Economic AreaEFI/Og # Extensible Firmware InterfaceEGR/ # exhaust gas recirculation@@ -53925,6 +53970,7 @@ Famicom/NOSg # game consoleFigma/OgFireWire/Sg # trademarkFirestore/Og+Flatpak/Og # package managementFoddy/SgForgejo/Og # programming forge / git hostFrankl/Sg@@ -53995,6 +54041,7 @@ IPv4/OgSIPv6/OgSISA/NOSg # instruction set architecture; industry standard architectureISSN/NgS # International Standard Serial Number+ImageMagick/OgIndo-Aryan/OmgSJ # linguisticsIndo-European/OmSgJ # linguisticsIndo-Iranian/NmgJ # linguistics@@ -54002,6 +54049,7 @@ IntelliJ/SgIntelliSense/OgIoT/Ng # internet of thingsItanium/OgS # cpu+J-pop/NmgJNI/Og # Java Native InterfaceJS/Ng # JavaScriptJSDoc/Sg@@ -54214,6 +54262,7 @@ SMSes/N9VhSMSing/V6SMTP # Simple Mail Transfer ProtocolSNL/Og # Saturday Night Live+SPARC/OgSSQLAlchemy/NSSID/NgSSSL/Og # Secure Sockets Layer@@ -54425,6 +54474,7 @@ iPadOS/OgiTerm2/Og # macOS terminal emulatoridiolect/NSg # linguisticsiframe/NgS+infobox/NgS # mainly used on wikis, not in dictionariesinfosec/NmG # information securityinpaint/VGdSinterop/NmgS # interoperability - see also FFI@@ -54456,6 +54506,7 @@ nullish/Jolds/~ # common in phrasing such as "twenty year olds"optional/NgS # a polymorphic type also called "option" and "maybe"pandoc/Sg # !! please check and comment !! elsewhere we have Pandoc+pastable/Jpastebin/NgSpaywall/VSdG # unlike the noun sense, the verb sense has not made it to dictionariespdfTeX/Og # Program, extension for TeX engine@@ -54555,6 +54606,7 @@ livestreamer/NSg # main: OED, Oxford Learner's; also: Cambridgelive streamer/NSg # Cambridgemenarche/Nmg # medicinemicronutrient/NSg+misprediction/NSg. # not in dictionariesmonolatrous/Jmonolatry/Nmgofferor/NSgdiff --git a/harper-core/src/linting/more_adjective.rs b/harper-core/src/linting/more_adjective.rsindex 0a40e7ffd..61ec2769e 100644--- a/harper-core/src/linting/more_adjective.rs+++ b/harper-core/src/linting/more_adjective.rs@@ -323,4 +323,21 @@ mod tests {MoreAdjective::new(FstDictionary::curated()),);}++ #[test]+ fn dont_correct_in_most_to_innest_3284() {+ assert_no_lints(+ "I have spent most in my life in Florida and had never heard \"display\" with an emphasis on the first syllable.",+ MoreAdjective::new(FstDictionary::curated()),+ );+ }++ #[test]+ #[ignore = "this problem persists, even after changing the 'cut' and 'cute' annotations"]+ fn dont_correct_more_cut_to_cuter() {+ assert_no_lints(+ "they’re more cut from “one and done” cloth",+ MoreAdjective::new(FstDictionary::curated()),+ );+ }}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.mdindex 53c39c19f..a76935ae0 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@@ -2078,8 +2078,8 @@#> “ Well , be off , then ! ” said the Pigeon in a sulky tone , as it settled down again# . NSg/VB/J/R . NSg/VLXB NSg/VB/J/P . NSg/J/R/C . . VP/J D NSg/VB+ NPr/J/R/P D/P+ NSg/J+ N🅪Sg/I/VB+ . R/C/P NPr/ISg+ VP/J N🅪Sg/VB/J/P P-> into its nest . Alice crouched down among the trees as well as she could , for her-# P ISg/D$+ NSg/VB/JS+ . NPr+ VP/J N🅪Sg/VB/J/P P D+ NPl/V3+ R/C/P NSg/VB/J/R R/C/P ISg+ NSg/VXB . R/C/P ISg/D$++> into its nest . Alice crouched down among the trees as well as she could , for her+# P ISg/D$+ NSg/VB+ . NPr+ VP/J N🅪Sg/VB/J/P P D+ NPl/V3+ R/C/P NSg/VB/J/R R/C/P ISg+ NSg/VXB . R/C/P ISg/D$+> neck kept getting entangled among the branches , and every now and then she had# NSg/VB+ VP NSg/Vg VP/J P D NPl/V3+ . VB/C Dq NSg/J/R/C VB/C NSg/J/R/C ISg+ VP> to stop and untwist it . After a while she remembered that she still held thediff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.mdindex 080392e12..4146506e6 100644--- a/harper-core/tests/text/tagged/The Great Gatsby.md+++ b/harper-core/tests/text/tagged/The Great Gatsby.md@@ -5926,8 +5926,8 @@# NPr/J/R/P P D NPr+ .>#-> When Klipspringer had played “ The Love Nest ” he turned around on the bench and-# NSg/I/C ? VP VP/J . D NPr🅪Sg/VB NSg/VB/JS+ . NPr/ISg+ VP/J J/P J/P D NSg/VB+ VB/C+> When Klipspringer had played “ The Love Nest ” he turned around on the bench and+# NSg/I/C ? VP VP/J . D NPr🅪Sg/VB NSg/VB+ . NPr/ISg+ VP/J J/P J/P D NSg/VB+ VB/C> searched unhappily for Gatsby in the gloom .# VP/J R R/C/P NPr NPr/J/R/P D Nᴹ/VB+ .>