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.dictindex 536c8d083..2af20c600 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -34,7 +34,8 @@ AFC/ONgAFDC/OAFN/ONAFT/O-AI/NOwSg # artificial intelligence+AI/NwSg # artificial intelligence+A.I./NwSgAIDS/NgJ # diseaseAK/ON # US state (Alaska)AKP/Og # political party@@ -841,6 +842,7 @@ BBQ/NVBBS/NBBSes/NBC/ONgJ+BDSM/NmgBFF/NBIA/OBIOS/N@@ -12853,6 +12855,7 @@ apiece/~apish/JYaplenty/Japlomb/Nmg+apnea/NwgSapocalypse/~NSgapocalyptic/~JNapocrypha/Nmg@@ -16197,6 +16200,7 @@ buzzcut/NgSbuzzer/Ngbuzzkill/NSgbuzzword/NSg+buzzy/Hbx/~Nbxs/Nby/~PNg # removed adjective sense@@ -17592,6 +17596,7 @@ chromatin/~Ngchromatography/~Nmgchrome/~NmgSVGdchromium/~Nmg+chromodynamics/Nmgchromoly/Nmgchromosomal/~Jchromosome/~NgS@@ -19337,6 +19342,7 @@ copulate/VGdSJnvcopulation/Ngcopulative/JNSgcopy/~NSVdGr+copy editor/NgScopy'scopybook/NSgcopycat/NgSJV@@ -19549,6 +19555,7 @@ coughs/NVcould/~NAcould've/Vcouldn't/~VA+couldn't've/VA†coulee/NSgcoulis/Ncoulomb/~NgS@@ -20538,7 +20545,7 @@ day/~NwSgday-to-day/JRdaybed/NgSdaybreak/~Nwg-daycare/Nmg+daycare/NwgSdaydream/NgSVd>GZdaydreamer/NgSdaylight/~NwgSV@@ -21075,6 +21082,7 @@ deprecation/Ngdeprecatory/Jdepreciate/VdSGndepreciation/~Ng+depreciative/Jdepredation/NSgdepressant/NSgJdepressing/JYV6@@ -22511,6 +22519,7 @@ dumb/~JY^>pVdumbass/NSgxdumbbell/~NSgdumbfound/VSdG+dumbfuck/xdumbness/Nmgdumbo/NgSdumbstruck/J@@ -22985,7 +22994,7 @@ electron/~NgSelectronic/~JSelectronica/~Nmgelectronically/~Ry-electronics/~Nmg+electronics/~Nm09gelectroplate/VdGSNelectroscope/NSgelectroscopic/J@@ -23808,6 +23817,7 @@ etude/NSgetymological/~JYetymologist/NSgetymology/~NwSg+etymon/NgS# eu # prefixes that are not also words in their own right don't belong in the dictionaryeucalypti/N9eucalyptus/~N0gS@@ -24505,6 +24515,7 @@ fancywork/Ngfandango/~NgSVfandom/~Nfanfare/~NwSgV+fanfic/Nmg†fang/~NgSVdfanlight/NSgfanmade/J@@ -26948,7 +26959,7 @@ gnomic/~Jgnomish/Jgnomist/NgSgnu/~NSg-go/~Vb>GN0gJzHZ+go/~VbGN0gJzHZgo around/Vgo-around/NgSgoad/NgSVdG@@ -27000,7 +27011,7 @@ godparent/NSggodsend/NSggodson/NSggodspeed/N-goer/Ng+goer/NgSgoes/~VhN9gofer/NSggoggle/VdGSNg@@ -27697,6 +27708,7 @@ had/~VtThaddock/NwSghadith/~Nhadn't/Vt+hadron/NgS # subatomic particle made of quarkshadst/Vhaem/N!@_₹haematite/Ng!_₹@@ -28280,6 +28292,7 @@ heft/NmgSVdGheftily/Ryheftiness/Nmghefty/~J>^p+hegemon/NgShegemonic/~Jhegemony/~Nmghegira/NSg@@ -29298,6 +29311,7 @@ hypersensitiveness/Nghypersensitivity/~NSghypersexualise/VSdG!_₹hypersexualize/VSdG+hypersonic/Jhyperspace/NmSVhypertension/~Nghypertensive/JNSg@@ -29866,6 +29880,8 @@ incel/NgSincendiary/~JNSgincense/~NwgSVGdincentive/~NwgSE+incentivisation/NwSg!_₹+incentivise/VGdSE!_₹incentivization/NwSgincentivize/VGdSEinception/~NwSg@@ -32143,7 +32159,7 @@ legislation/~Nglegislative/~JYNlegislator/~NgSlegislature/~NSg-legit/~NJ+legit/~NJ†legitimacy/~Nglegitimate/~JYNSVdGlegitimatise/VGdS!_₹@@ -32278,7 +32294,7 @@ liable/~Jrliaise/VGdSliaison/~NgSVliar/~NgS-lib/~NgV+lib/~NwgS # Should this have †/‡?libation/NSglibber/NgSlibel/~NSgVGd>Z@@ -33471,6 +33487,7 @@ marginalise/VGdS!_₹marginality/Ngmarginalization/Ngmarginalize/VGdS+margined/VtTJmaria/~Ngmariachi/JNgSmarigold/NgSJ@@ -33958,6 +33975,7 @@ mentor/~NgSVdGmentorship/Nmenu/~NgSVGmeow/NgSVdG+merc/NgS† # slang for mercenarymercantile/~Jmercantilism/Ngmercantilist/JNSg@@ -34290,7 +34308,7 @@ militarist/NSgmilitaristic/Jmilitarization/Ngemilitarize/VdSGe-military/~JNg+military/~JNgSmilitate/VGdSmilitia/~NSgmilitiaman/Ng@@ -34355,7 +34373,7 @@ minatory/Jmince/NSgVd>GZmincemeat/Ngmincer/Ng-mind/~NSVd>GrZ+mind/~NSVd>GZmind-blowing/Jmind-boggling/JY!@_₹mind game/NgS@@ -34879,7 +34897,7 @@ monograph/~NgVmonographs/~Nmonolingual/~JNgSmonolith/~NgV-monolithic/~J+monolithic/~JQmonoliths/Nmonologist/NSgmonologue/~NSgV@@ -37290,6 +37308,8 @@ ought/~INAoughtn't/Aounce/~NgSour/~D5+ouroboros/N0gS+ouroboroi/N9ours/~Iourself/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/~N9pang/~NgSV+pangram/NgSpanhandle/~NSgVd>GZpanhandler/NgSpanic/~JNwSgV@@ -40870,6 +40891,7 @@ protactinium/Nmgprotagonist/~NSgprotean/JNprotect/~VGSdv+protectable/JUprotectant/NSgprotected/~JVUprotection/~NwSg@@ -42073,6 +42095,7 @@ redemptive/Jredhead/NSgdredialling/V6!_₹redirection/Nmg+redistributable/Jredistribution/VGdSNgredistrict/VGdredivide/VGdS@@ -42354,6 +42377,7 @@ remember/~VdGremembered/~VtTUremembrance/~NgSVremilitarize/VGdS+remind/VGdSreminder/~Ngreminisce/VGdSNreminiscence/NgS@@ -47267,6 +47291,7 @@ stratospheric/Jstratum/~N0gstratus/N0gstraw/~NwSgJVGd+straw man/N0gstrawberry/~NwSgJVstray/~NSgVGdJstreak/~NgSVd>GZ@@ -47504,6 +47529,7 @@ subflow/NSgsubfolder/NgSsubframe/NgSsubfreezing/J+subgenre/NgSsubgroup/~NgSVsubhead/NgSGzsubheading/Ng@@ -50704,7 +50730,7 @@ unaccommodating/Junaccountably/Ryunadventurous/Junaesthetic/J-unaffected/J+unaffected/JYunaffordable/Junalive/NgSVdGJunallocated/J@@ -51206,6 +51232,7 @@ unshakable/Junshakably/Ryunshakeable/J!_₹unshapely/J+unsheltered/Junshockable/Junshorn/Junsightliness/Ng@@ -53696,6 +53723,7 @@ BYD/OgS # Chinese automobile manufacturerBachiyski/SgBadgerDB/Og # key-value databaseBezos/O # Surname, Amazon founder+BibTeX/Og # file format & toolBinance/OgBing/Og # Microsoft productBitKeeper/Og # version control@@ -53732,6 +53760,7 @@ CTE/NSCTF/NSg # capture the flagCVE/NSg # Common Vulnerabilities and ExposuresChatGPT/Og # OpenAI product+Chinesium/Nmg† # slang for low-grade materialsClickHouse/OgCloudFront/Og # CDN serviceCloudflare/Og@@ -53841,6 +53870,7 @@ GUID/Og # globally unique identifierGaneti/SgGateron/SgGeForce/Og+GenAI/Nmg # generative AIGeoJSON/Og # geographic data format (JSON based)Gerber/Ng # file formatGhidra/Og # reverse engineering@@ -53877,6 +53907,7 @@ IDA/Og # reverse engineering softwareIFRS/Og # International Financial Reporting StandardsIIFE/NgS # immediately-invoked function expressionIMAP/Sg # internet message access protocol+IMDb/Og # Internet Movie DatabaseIME/NgS # input method editorIMSI/N # international mobile subscriber identityIPC/Ng # interprocess communication@@ -54147,6 +54178,7 @@ Tauri/Og # web-tech framework for desktop appsTeX/Og # Typesetting engine; must come after Tex!TeXesTechCrunch/g+Temu/OgTencent/OgTensorFlow/OgTextMate/Og # text editor and syntax highlighting standard@@ -54184,6 +54216,7 @@ VaultPress/OgVercel/Og # cloudVideoPress/OgViktor/Sg+Vim script/Omg # the spelling/capitalization variant used on Vim's docsVimeo/Og # video platformVirtualBox/ONSgVite/Sg@@ -54210,6 +54243,7 @@ Westphalian/J # political science and international relationsWhatsApp/NOgVG # messaging appWikilink/NSg # !! please check and comment !! elsewhere we have wikilinkWikimedia/Og # foundation that runs Wikipedia etc.+Win32/Og # Microsoft Windows APIWireGuard/SgWooCommerce/OgXFS/Ng # file system@@ -54326,11 +54360,16 @@ mergesortmicroframework/NgSmulticast/JVSdGnonmutating/J+noosphere/Ng # the ~ = the sphere of reasonnpm/Og # node package manager+nullable/J+nullability/Nmgnullish/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 Pandocpastebin/NgS+paywall/VSdG # unlike the noun sense, the verb sense has not made it to dictionariespdfTeX/Og # Program, extension for TeX enginepentest/VSdGpentester/NSg # penetration tester@@ -54342,6 +54381,7 @@ polysynthetic/J. # linguisticspostfix/NgSVdGpre/~PNV( # !! please check and comment !! dictionaries only list prefix pre-preshared/J+protoform/NgS # linguisticsquadtree/NgS # data structurequicksort/NgSVdG # algoraytracer/N # dictionaries prefer: ray tracer@@ -54362,6 +54402,7 @@ sed/Og # *nix tool / languagesigil/NgSsingleplayer/Jsioyek/Sg # !! please check and comment !!+snowclone/NgS # a type of clichésociolect/NSgstacktrace/NSg # dictionaries prefer: stack tracestandup/Sg # dictionaries prefer: stand-updiff --git a/harper-core/irregular_nouns.json b/harper-core/irregular_nouns.jsonindex 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.mdindex 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 computationaldiff --git a/harper-core/tests/text/tagged/The Great Gatsby.md b/harper-core/tests/text/tagged/The Great Gatsby.mdindex 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 ? ”