Skip to content

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

chore: dictionary curation (#3041)

Andrew Dunbarb624274b1ffc
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index 536c8d083..2af20c600 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -34,7 +34,8 @@ AFC/ONg
AFDC/O
AFN/ON
AFT/O
-AI/NOwSg # artificial intelligence
+AI/NwSg # artificial intelligence
+A.I./NwSg
AIDS/NgJ # disease
AK/ON # US state (Alaska)
AKP/Og # political party
@@ -841,6 +842,7 @@ BBQ/NV
BBS/N
BBSes/N
BC/ONgJ
+BDSM/Nmg
BFF/N
BIA/O
BIOS/N
@@ -12853,6 +12855,7 @@ apiece/~
apish/JY
aplenty/J
aplomb/Nmg
+apnea/NwgS
apocalypse/~NSg
apocalyptic/~JN
apocrypha/Nmg
@@ -16197,6 +16200,7 @@ buzzcut/NgS
buzzer/Ng
buzzkill/NSg
buzzword/NSg
+buzzy/H
bx/~N
bxs/N
by/~PNg # removed adjective sense
@@ -17592,6 +17596,7 @@ chromatin/~Ng
chromatography/~Nmg
chrome/~NmgSVGd
chromium/~Nmg
+chromodynamics/Nmg
chromoly/Nmg
chromosomal/~J
chromosome/~NgS
@@ -19337,6 +19342,7 @@ copulate/VGdSJnv
copulation/Ng
copulative/JNSg
copy/~NSVdGr
+copy editor/NgS
copy's
copybook/NSg
copycat/NgSJV
@@ -19549,6 +19555,7 @@ coughs/NV
could/~NA
could've/V
couldn't/~VA
+couldn't've/VA†
coulee/NSg
coulis/N
coulomb/~NgS
@@ -20538,7 +20545,7 @@ day/~NwSg
day-to-day/JR
daybed/NgS
daybreak/~Nwg
-daycare/Nmg
+daycare/NwgS
daydream/NgSVd>GZ
daydreamer/NgS
daylight/~NwgSV
@@ -21075,6 +21082,7 @@ deprecation/Ng
deprecatory/J
depreciate/VdSGn
depreciation/~Ng
+depreciative/J
depredation/NSg
depressant/NSgJ
depressing/JYV6
@@ -22511,6 +22519,7 @@ dumb/~JY^>pV
dumbass/NSgx
dumbbell/~NSg
dumbfound/VSdG
+dumbfuck/x
dumbness/Nmg
dumbo/NgS
dumbstruck/J
@@ -22985,7 +22994,7 @@ electron/~NgS
electronic/~JS
electronica/~Nmg
electronically/~Ry
-electronics/~Nmg
+electronics/~Nm09g
electroplate/VdGSN
electroscope/NSg
electroscopic/J
@@ -23808,6 +23817,7 @@ etude/NSg
etymological/~JY
etymologist/NSg
etymology/~NwSg
+etymon/NgS
# eu # prefixes that are not also words in their own right don't belong in the dictionary
eucalypti/N9
eucalyptus/~N0gS
@@ -24505,6 +24515,7 @@ fancywork/Ng
fandango/~NgSV
fandom/~N
fanfare/~NwSgV
+fanfic/Nmg†
fang/~NgSVd
fanlight/NSg
fanmade/J
@@ -26948,7 +26959,7 @@ gnomic/~J
gnomish/J
gnomist/NgS
gnu/~NSg
-go/~Vb>GN0gJzHZ
+go/~VbGN0gJzHZ
go around/V
go-around/NgS
goad/NgSVdG
@@ -27000,7 +27011,7 @@ godparent/NSg
godsend/NSg
godson/NSg
godspeed/N
-goer/Ng
+goer/NgS
goes/~VhN9
gofer/NSg
goggle/VdGSNg
@@ -27697,6 +27708,7 @@ had/~VtT
haddock/NwSg
hadith/~N
hadn't/Vt
+hadron/NgS # subatomic particle made of quarks
hadst/V
haem/N!@_₹
haematite/Ng!_₹
@@ -28280,6 +28292,7 @@ heft/NmgSVdG
heftily/Ry
heftiness/Nmg
hefty/~J>^p
+hegemon/NgS
hegemonic/~J
hegemony/~Nmg
hegira/NSg
@@ -29298,6 +29311,7 @@ hypersensitiveness/Ng
hypersensitivity/~NSg
hypersexualise/VSdG!_₹
hypersexualize/VSdG
+hypersonic/J
hyperspace/NmSV
hypertension/~Ng
hypertensive/JNSg
@@ -29866,6 +29880,8 @@ incel/NgS
incendiary/~JNSg
incense/~NwgSVGd
incentive/~NwgSE
+incentivisation/NwSg!_₹
+incentivise/VGdSE!_₹
incentivization/NwSg
incentivize/VGdSE
inception/~NwSg
@@ -32143,7 +32159,7 @@ legislation/~Ng
legislative/~JYN
legislator/~NgS
legislature/~NSg
-legit/~NJ
+legit/~NJ†
legitimacy/~Ng
legitimate/~JYNSVdG
legitimatise/VGdS!_₹
@@ -32278,7 +32294,7 @@ liable/~Jr
liaise/VGdS
liaison/~NgSV
liar/~NgS
-lib/~NgV
+lib/~NwgS # Should this have †/‡?
libation/NSg
libber/NgS
libel/~NSgVGd>Z
@@ -33471,6 +33487,7 @@ marginalise/VGdS!_₹
marginality/Ng
marginalization/Ng
marginalize/VGdS
+margined/VtTJ
maria/~Ng
mariachi/JNgS
marigold/NgSJ
@@ -33958,6 +33975,7 @@ mentor/~NgSVdG
mentorship/N
menu/~NgSVG
meow/NgSVdG
+merc/NgS† # slang for mercenary
mercantile/~J
mercantilism/Ng
mercantilist/JNSg
@@ -34290,7 +34308,7 @@ militarist/NSg
militaristic/J
militarization/Nge
militarize/VdSGe
-military/~JNg
+military/~JNgS
militate/VGdS
militia/~NSg
militiaman/Ng
@@ -34355,7 +34373,7 @@ minatory/J
mince/NSgVd>GZ
mincemeat/Ng
mincer/Ng
-mind/~NSVd>GrZ
+mind/~NSVd>GZ
mind-blowing/J
mind-boggling/JY!@_₹
mind game/NgS
@@ -34879,7 +34897,7 @@ monograph/~NgV
monographs/~N
monolingual/~JNgS
monolith/~NgV
-monolithic/~J
+monolithic/~JQ
monoliths/N
monologist/NSg
monologue/~NSgV
@@ -37290,6 +37308,8 @@ ought/~INA
oughtn't/A
ounce/~NgS
our/~D5
+ouroboros/N0gS
+ouroboroi/N9
ours/~I
ourself/Ia1F # I:pronoun a:personal 1:person .~singular F:reflexive (of the 'Royal We')
ourselves/~Ia1F: # I:pronoun a:personal 1:person :~plural F:reflexive
@@ -37986,6 +38006,7 @@ panelling/NSgV6!@_₹
panellist/NSg!@_₹
panes/~N9
pang/~NgSV
+pangram/NgS
panhandle/~NSgVd>GZ
panhandler/NgS
panic/~JNwSgV
@@ -40870,6 +40891,7 @@ protactinium/Nmg
protagonist/~NSg
protean/JN
protect/~VGSdv
+protectable/JU
protectant/NSg
protected/~JVU
protection/~NwSg
@@ -42073,6 +42095,7 @@ redemptive/J
redhead/NSgd
redialling/V6!_₹
redirection/Nmg
+redistributable/J
redistribution/VGdSNg
redistrict/VGd
redivide/VGdS
@@ -42354,6 +42377,7 @@ remember/~VdG
remembered/~VtTU
remembrance/~NgSV
remilitarize/VGdS
+remind/VGdS
reminder/~Ng
reminisce/VGdSN
reminiscence/NgS
@@ -47267,6 +47291,7 @@ stratospheric/J
stratum/~N0g
stratus/N0g
straw/~NwSgJVGd
+straw man/N0g
strawberry/~NwSgJV
stray/~NSgVGdJ
streak/~NgSVd>GZ
@@ -47504,6 +47529,7 @@ subflow/NSg
subfolder/NgS
subframe/NgS
subfreezing/J
+subgenre/NgS
subgroup/~NgSV
subhead/NgSGz
subheading/Ng
@@ -50704,7 +50730,7 @@ unaccommodating/J
unaccountably/Ry
unadventurous/J
unaesthetic/J
-unaffected/J
+unaffected/JY
unaffordable/J
unalive/NgSVdGJ
unallocated/J
@@ -51206,6 +51232,7 @@ unshakable/J
unshakably/Ry
unshakeable/J!_₹
unshapely/J
+unsheltered/J
unshockable/J
unshorn/J
unsightliness/Ng
@@ -53696,6 +53723,7 @@ BYD/OgS # Chinese automobile manufacturer
Bachiyski/Sg
BadgerDB/Og # key-value database
Bezos/O # Surname, Amazon founder
+BibTeX/Og # file format & tool
Binance/Og
Bing/Og # Microsoft product
BitKeeper/Og # version control
@@ -53732,6 +53760,7 @@ CTE/NS
CTF/NSg # capture the flag
CVE/NSg # Common Vulnerabilities and Exposures
ChatGPT/Og # OpenAI product
+Chinesium/Nmg† # slang for low-grade materials
ClickHouse/Og
CloudFront/Og # CDN service
Cloudflare/Og
@@ -53841,6 +53870,7 @@ GUID/Og # globally unique identifier
Ganeti/Sg
Gateron/Sg
GeForce/Og
+GenAI/Nmg # generative AI
GeoJSON/Og # geographic data format (JSON based)
Gerber/Ng # file format
Ghidra/Og # reverse engineering
@@ -53877,6 +53907,7 @@ IDA/Og # reverse engineering software
IFRS/Og # International Financial Reporting Standards
IIFE/NgS # immediately-invoked function expression
IMAP/Sg # internet message access protocol
+IMDb/Og # Internet Movie Database
IME/NgS # input method editor
IMSI/N # international mobile subscriber identity
IPC/Ng # interprocess communication
@@ -54147,6 +54178,7 @@ Tauri/Og # web-tech framework for desktop apps
TeX/Og # Typesetting engine; must come after Tex!
TeXes
TechCrunch/g
+Temu/Og
Tencent/Og
TensorFlow/Og
TextMate/Og # text editor and syntax highlighting standard
@@ -54184,6 +54216,7 @@ VaultPress/Og
Vercel/Og # cloud
VideoPress/Og
Viktor/Sg
+Vim script/Omg # the spelling/capitalization variant used on Vim's docs
Vimeo/Og # video platform
VirtualBox/ONSg
Vite/Sg
@@ -54210,6 +54243,7 @@ Westphalian/J # political science and international relations
WhatsApp/NOgVG # messaging app
Wikilink/NSg # !! please check and comment !! elsewhere we have wikilink
Wikimedia/Og # foundation that runs Wikipedia etc.
+Win32/Og # Microsoft Windows API
WireGuard/Sg
WooCommerce/Og
XFS/Ng # file system
@@ -54326,11 +54360,16 @@ mergesort
microframework/NgS
multicast/JVSdG
nonmutating/J
+noosphere/Ng # the ~ = the sphere of reason
npm/Og # node package manager
+nullable/J
+nullability/Nmg
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
pastebin/NgS
+paywall/VSdG # unlike the noun sense, the verb sense has not made it to dictionaries
pdfTeX/Og # Program, extension for TeX engine
pentest/VSdG
pentester/NSg # penetration tester
@@ -54342,6 +54381,7 @@ polysynthetic/J. # linguistics
postfix/NgSVdG
pre/~PNV( # !! please check and comment !! dictionaries only list prefix pre-
preshared/J
+protoform/NgS # linguistics
quadtree/NgS # data structure
quicksort/NgSVdG # algo
raytracer/N # dictionaries prefer: ray tracer
@@ -54362,6 +54402,7 @@ sed/Og # *nix tool / language
sigil/NgS
singleplayer/J
sioyek/Sg # !! please check and comment !!
+snowclone/NgS # a type of cliché
sociolect/NSg
stacktrace/NSg # dictionaries prefer: stack trace
standup/Sg # dictionaries prefer: stand-up
diff --git a/harper-core/irregular_nouns.json b/harper-core/irregular_nouns.json
index 792ff6732..e8cde746b 100644
--- a/harper-core/irregular_nouns.json
+++ b/harper-core/irregular_nouns.json
@@ -101,6 +101,7 @@
["oasis", "oases"],
["ombudsman", "ombudsmen"],
["optimum", "optima"],
+ ["ouroboros", "ouroboroi"],
["ox", "oxen"],
["palazzo", "palazzi"],
["papyrus", "papyri"],
diff --git a/harper-core/tests/text/tagged/Computer science.md b/harper-core/tests/text/tagged/Computer science.md
index 53cfa6d60..0dd599358 100644
--- a/harper-core/tests/text/tagged/Computer science.md
+++ b/harper-core/tests/text/tagged/Computer science.md
@@ -724,8 +724,8 @@
# HeadingStart J+ N🅪Sg+
>
#
-> Artificial intelligence ( AI ) aims to or is required to synthesize
-# J N🅪Sg . NPr🅪Sg+ . NPl/V3 P NPr/C VL3 VP/J P VB
+> Artificial intelligence ( AI ) aims to or is required to synthesize
+# J N🅪Sg . N🅪Sg+ . NPl/V3 P NPr/C VL3 VP/J P VB
> goal - orientated processes such as problem - solving , decision - making ,
# NSg/VB+ . VP/J NPl/V3 NSg/I R/C/P NSg/J+ . Nᴹ/Vg/J . NSg/VB+ . Nᴹ/Vg/J .
> environmental adaptation , learning , and communication found in humans and
@@ -738,8 +738,8 @@
# N🅪Sg/Vg/J J/P NPl P Nᴹ/VB+ NSg/I R/C/P VP/J Nᴹ+ . J Nᴹ/VB/J+ .
> semiotics , electrical engineering , philosophy of mind , neurophysiology , and
# Nᴹ . NSg/J Nᴹ/Vg/J+ . N🅪Sg/VB P NSg/VB+ . Nᴹ . VB/C
-> social intelligence . AI is associated in the popular mind with robotic
-# NSg/J N🅪Sg+ . NPr🅪Sg+ VL3 VP/J NPr/J/R/P D NSg/J NSg/VB+ P J+
+> social intelligence . AI is associated in the popular mind with robotic
+# NSg/J N🅪Sg+ . N🅪Sg+ VL3 VP/J NPr/J/R/P D NSg/J NSg/VB+ P J+
> development , but the main field of practical application has been as an embedded
# N🅪Sg+ . NSg/C/P D NSg/VB/J NSg/VB P NSg/J+ NSg+ V3 NSg/VLPp R/C/P D/P VP/J
> component in areas of software development , which require computational
diff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.md
index 1d1b87c59..3495b49eb 100644
--- a/harper-core/tests/text/tagged/The Great Gatsby.md
+++ b/harper-core/tests/text/tagged/The Great Gatsby.md
@@ -849,7 +849,7 @@
>
#
> “ I love to see you at my table , Nick . You remind me of a — of a rose , an absolute
-# . ISg/#r+ NPr🅪Sg/VB P NSg/VB ISgPl+ NSg/P D$+ NSg/VB+ . NPr/VB+ . ISgPl+ NSg/VB NPr/ISg+ P D/P . P D/P+ NPr/VPt/J+ . D/P+ NSg/J+
+# . ISg/#r+ NPr🅪Sg/VB P NSg/VB ISgPl+ NSg/P D$+ NSg/VB+ . NPr/VB+ . ISgPl+ VB NPr/ISg+ P D/P . P D/P+ NPr/VPt/J+ . D/P+ NSg/J+
> rose . Doesn’t he ? ” She turned to Miss Baker for confirmation : “ An absolute
# NPr/VPt/J+ . VX3 NPr/ISg+ . . ISg+ VP/J P NSg/VB NPr+ R/C/P N🅪Sg+ . . D/P+ NSg/J+
> rose ? ”