Skip to content

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.json
index 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.dict
index 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/Og
Arrhenius/Og
Arron/Og
Art/Og
+Art Deco/Omg
Artaxerxes/Og
Artemis/Og
Arthur/ONg
@@ -1661,10 +1662,10 @@ CD-ROM/NgS
CDC/ON
CDMX/Og # Mexico City, see also DF
CDT/N
-CEO/NgS # chief executive officer
+CEO/NOgS # chief executive officer
CF/NOJ
CFC/ONg
-CFO/NO # financial officer
+CFO/NOgS # chief financial officer
CGI/NOV # computer graphics interface; common gateway interface
CIA/ONgJ # agency
CID/NO
@@ -1682,6 +1683,7 @@ COD/ON
COFF/ONg # common object file format
COL/ON
COLA/NO
+COO/NOgS # chief operating officer
COVID/N # virus
CO₂/N
CPA/Ng
@@ -1694,6 +1696,7 @@ CSS/NOg
CST/ONg
CSV/Ng # data file format
CT/ONgVJ # US state (Connecticut)
+CTO/NOgS # chief technology officer
CUDA/ONg # computing architecture
CV/NOSJ # curriculum vitae
CVS/NOg # version control
@@ -2495,6 +2498,7 @@ Crosby/Og
Cross/Og
Crow/NOSg
Crowley/Og
+Croydon/Og
Crucifixion/OgS
Cruikshank/Og
Cruise/Og
@@ -4246,6 +4250,7 @@ HIMARS/N
HIV/Ng
HM/NO
HMO/Ng
+HMRC/Og!
HMS/N
HOV/N
HP/ONg
@@ -5314,6 +5319,7 @@ Justinian/OgJ
Jutland/Og
Juvenal/Og
K/ # Potassium
+K-pop/Nmg
KB/NOg # kilobyte, cf. Kb
KC/ON
KFC/Og # company
@@ -7246,6 +7252,7 @@ NFL/ONg # sports organization
NGO/NgS # non-government organization
NH/ONVJ # US state (New Hampshire)
NHL/NOg # sports organization
+NHS/Og
NIH/OJ # National Institutes of Health
NIMBY/NJ # not in my backyard
NJ/OJ # US state (New Jersey)
@@ -7591,7 +7598,7 @@ OCR/ONV # optical character recognition
OD/NSgV
OE/ONJV
OECD/Og # organization
-OED/O # dictionary
+OED/Og # dictionary
OEM/JNgS # original equipment manufacturer
OH/ON # US state (Ohio)
OHSA/g # law
@@ -8785,7 +8792,8 @@ Roku/g
Rolaids/g
Roland/Og
Rolando/g
-Rolex/Ng
+Rolex/OgS
+Rolf/Og
Rolland/Og
Rollerblade/g
Rollins/Og
@@ -11036,6 +11044,7 @@ Xerxes/Og
Xhosa/Ng
Xi'an/Og
Xian/ONSgJ
+Xiamen/Og # city in china
Xiaomi/Og
Xiaoping/g
Ximenes/g
@@ -11138,6 +11147,7 @@ Yvette/ONg
Yvonne/Og
Z/NSg^nX
Z80/NOSg
+Zach/Og
Zachariah/Og
Zachary/Og
Zachery/Og
@@ -11228,6 +11238,7 @@ Zyuganov/g
Zzz
a/~DP(
a lot
+a.k.a./
a.m./
aah/NV
aardvark/~NSg
@@ -12140,6 +12151,7 @@ algae/~N9S
algal/~JN
algebra/~NwSg
algebraic/~JQ
+algo/NgS†
algorithm/~NSg
algorithmic/JQ
alias/~NgSVGd
@@ -15642,6 +15654,7 @@ bramble/NgSV
brambly/J
bran/~Ng
branch/~NgSVGd
+branchless/J
branchlike/J
brand/~NgSVGd>Zr
branded/~JVtTU
@@ -15933,6 +15946,7 @@ bu/~N
bub/NSgV
bubble/~NSgVdG>
bubble tea/NwgS
+bubble wrap/Nmg
bubblegum/~NmgJ
bubbly/J>^Nmg
bubo/N0g
@@ -18268,6 +18282,8 @@ cohesive/~JYpN
cohesiveness/Ng
coho/NgS
cohort/~NSgV
+cohost/NgSVdG
+co-host/NgS
coif/NgSV
coiffed/VtT
coiffing/V6
@@ -20330,7 +20346,7 @@ customizability/Nmg
customizable/J
customization/~NwgS
customize/VdSG
-cut/~VbtT>SJ^Ng
+cut/~VbtT>SJNg
cut back/V/
cut off/V/
cut over/V/
@@ -20338,7 +20354,7 @@ cut scene/NgS
cutaneous/~J
cutaway/JNgS
cutback/NgS
-cute/~JYp
+cute/~JYp>^
cuteness/~Nmg
cutesy/J^>
cutey/NS
@@ -20519,6 +20535,7 @@ darken/~VGd>Z
darkener/Ng
darkie/NS
darkness/~Nmg
+darknet/NgS
darkroom/NgS
darling/~NgSJ
darn/~J>VGdSNgZ
@@ -21728,6 +21745,7 @@ discussion/~NwSg
disdain/~NmSgVdG
disdainful/JY
disease/NwSg
+diseased/J
disembowel/VSdGL
disembowelled/VtT!@_₹
disembowelling/V6N!@_₹
@@ -24999,6 +25017,7 @@ film/~NwgSVdG
filminess/NgM
filmmaker/~NSg
filmmaking/NgM
+filmography/NwgS
filmstrip/NgS
filmy/J^>p
filo/N
@@ -25358,6 +25377,8 @@ flipper/NgSJc
flippest/Ju
flipping/~V6JN
flippy/JNS
+flipside/NgS # main spelling in several dictionaries
+flip-side/NgS # 'also' spelling in several dictionaries
flirt/NSgVGdJ
flirtation/NgS
flirtatious/JYp
@@ -27989,6 +28010,7 @@ harbour/NgSVGd!@_₹
harbourmaster/NS!@_₹
hard/~J>Y^pNwRynX # removed `V` verb sense is obsolete
hard code/VSdG
+hard copy/NsG
hard-pressed/J
hard right/Ng
hard-right/J
@@ -28137,6 +28159,7 @@ hawkishness/Nmg
hawser/NSg
hawthorn/~NwgS
hay/~NmSgVGd
+hay fever/Nmg
haycock/NSg
hayloft/NSg
haymaker/NS
@@ -28797,6 +28820,9 @@ homely/J>^p
homemade/~J
homemaker/NSg
homemaking/Nmg
+homeomorphic/J
+homeomorphism/
+homeomorphous/J
homeopath/N0g
homeopathic/JN
homeopaths/N9
@@ -29881,7 +29907,7 @@ impure/~JY^>V
impurity/~NSg
imputation/NSg
impute/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 marginal
in addition # dictionaries don't list this with a POS, or use 'phrase'
in addition to/P
in-depth/J
@@ -30330,10 +30356,11 @@ inland/~JNg
inline/~JVdGSNg
inmate/~NSg
inmost/JN
-inn/~NSgVG>z
+inn/~NSgVG
innards/Ng
innate/~JYpV
innateness/Ng
+inner/JNgS
innermost/~JN
innersole/NSg
innerspring/J
@@ -31240,7 +31267,8 @@ jointly/~RyW
joist/NSgV
jojoba/~N
joke/~NgSVGd>Z
-joker/~Ng
+joker/~NgS
+jokestar/NgS
jokey/J
jokier/Jc
jokiest/Ju
@@ -32602,6 +32630,7 @@ lisper/Ng
lissom/J!_₹
lissome/J
list/~NgSVdGnzX
+list box/NgS
listed/~VJU
listeme/NgS
listen/~Vd>GNgBZ
@@ -32657,6 +32686,7 @@ livability/Nmg
livable/JU
live/~VGdSJ^rB
live action/Nmg
+liveability/Nmg
liveable/J!_₹
livelihood/~NSg
liveliness/Nmg
@@ -35551,7 +35581,7 @@ mythology/~NwSg
mythos/Nmg
myths/~N9
myxomatosis/Nmg
-n/NJ^CiKH
+n/NJCH # i was in-; K was pro-; ^ was -est; C is conj
naan/NwS
nab/VSN
nabbed/VtT
@@ -37593,6 +37623,7 @@ overcritical/J
overcrowd/VSdG
overcrowding/~VNg
overdecorate/VdSG
+overdependence/Nmg
overdependent/J
overdevelop/VSdG
overdid/V
@@ -39701,6 +39732,7 @@ pluckiness/Ng
plucky/J>^p
plug/~NSVU
plug in/V/
+plug-in/JNgS
plug's
pluggable/J
plugged/~VtTU
@@ -40846,6 +40878,7 @@ promptness/Nmg
promulgate/VGdSn
promulgation/~Nmg
promulgator/NgS
+pron/N # previously generated by N/K
pronatalist/NgSJ
prone/~JpV
proneness/Nmg
@@ -41914,6 +41947,8 @@ rcpt/N
rd/~N
re/PNSg(vz
re-enable/VdSG
+re-enslave/VdSG
+re-enslavement/Nmg
reach/~VdGSNgB
reachable/~JNU
reacquire/VdSG
@@ -42354,7 +42389,7 @@ reimagined/VtTJ
reimburse/VdSGBL
reimbursement/NgS
reimplementation/NmgS
-rein/~NVGd
+rein/~NgSVGd
reindeer/~NgV
reinforce/~VGdSL
reinforcement/~NSg
@@ -43862,6 +43897,7 @@ scale/~NwSVGde
scale's
scaleless/J
scalene/JN
+scaler/NgS
scaliness/Ng
scallion/NgS
scallop/NSgVGd
@@ -44986,6 +45022,9 @@ shithead/NSx
shitless/Jx
shitload/NSx
shitpost/NgSdGx
+shit show/NgS # main entry in: MW
+shitshow/NgS # 'also' in: MW
+shit-show/NgS # 'also' in: MW
shitted/VtTx
shitting/NV6Jx
shitty/J>^x
@@ -45138,6 +45177,9 @@ shrilly/JRy
shrimp/~NwgS09Vd>GZ # singular and plural, also has a plural in -s
shrine/~NgSV
shrink/~VGSNgB
+shrink-wrap/VSNg
+shrink-wrapped/VtTJ
+shrink-wrapping/V6
shrinkage/Nmg
shrinker/NgS
shrinkflation/Nmg
@@ -45403,6 +45445,7 @@ sinuosity/Ng
sinuous/JY
sinus/~NgS
sinusitis/Ng
+sinusoid/NSg
sinusoidal/~JN
sip/~NSgV
siphon/~NgSVGd
@@ -49384,6 +49427,7 @@ thwack/VGd>SNgZ
thwacker/Ng
thwart/~JPVGdSNg
thy/~D
+thylacine/NgS
thyme/~Ng
thymine/Ng
thymus/NgS
@@ -53814,11 +53858,11 @@ Brembo/OgS # brake company
Btrfs/Ng # file system
BurpSuite/ONSg
C++/OgS # programming language
+CAN bus/NSg # communication protocol
CAPTCHA/NgS
CCP/OS # Chinese Communist Party
CDMA/NSg
CDN/NSg # content delivery network
-CEO/NSg # chief executive officer
CERN/Og # intergovernmental organization
CI/NSg # continuous integration
CISC/Ng # cpu architecture
@@ -53888,6 +53932,7 @@ DuckDuckGo/Og # search engine
Duolingo/Og # language app
EBITDA/N # earnings before interest, taxes, depreciation, and amortization
ECMA/Og # European Computer Manufacturers Association
+ECU/NgS # engine/electronic control unit
EEA/O # European Economic Area
EFI/Og # Extensible Firmware Interface
EGR/ # exhaust gas recirculation
@@ -53925,6 +53970,7 @@ Famicom/NOSg # game console
Figma/Og
FireWire/Sg # trademark
Firestore/Og
+Flatpak/Og # package management
Foddy/Sg
Forgejo/Og # programming forge / git host
Frankl/Sg
@@ -53995,6 +54041,7 @@ IPv4/OgS
IPv6/OgS
ISA/NOSg # instruction set architecture; industry standard architecture
ISSN/NgS # International Standard Serial Number
+ImageMagick/Og
Indo-Aryan/OmgSJ # linguistics
Indo-European/OmSgJ # linguistics
Indo-Iranian/NmgJ # linguistics
@@ -54002,6 +54049,7 @@ IntelliJ/Sg
IntelliSense/Og
IoT/Ng # internet of things
Itanium/OgS # cpu
+J-pop/Nmg
JNI/Og # Java Native Interface
JS/Ng # JavaScript
JSDoc/Sg
@@ -54214,6 +54262,7 @@ SMSes/N9Vh
SMSing/V6
SMTP # Simple Mail Transfer Protocol
SNL/Og # Saturday Night Live
+SPARC/OgS
SQLAlchemy/N
SSID/NgS
SSL/Og # Secure Sockets Layer
@@ -54425,6 +54474,7 @@ iPadOS/Og
iTerm2/Og # macOS terminal emulator
idiolect/NSg # linguistics
iframe/NgS
+infobox/NgS # mainly used on wikis, not in dictionaries
infosec/NmG # information security
inpaint/VGdS
interop/NmgS # interoperability - see also FFI
@@ -54456,6 +54506,7 @@ nullish/J
olds/~ # 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/J
pastebin/NgS
paywall/VSdG # unlike the noun sense, the verb sense has not made it to dictionaries
pdfTeX/Og # Program, extension for TeX engine
@@ -54555,6 +54606,7 @@ livestreamer/NSg # main: OED, Oxford Learner's; also: Cambridge
live streamer/NSg # Cambridge
menarche/Nmg # medicine
micronutrient/NSg
+misprediction/NSg. # not in dictionaries
monolatrous/J
monolatry/Nmg
offeror/NSg
diff --git a/harper-core/src/linting/more_adjective.rs b/harper-core/src/linting/more_adjective.rs
index 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.md
index 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 the
diff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.md
index 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+ .
>