Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: add technical words to dictionary (#2219)
rauletaveras0d8cedbf59ae
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex 1d24af1c5..2a887d00f 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -20903,7 +20903,7 @@ derision/Nwgderisive/JYNpderisiveness/Nmgderisory/J-derivation/~NgS+derivation/~NgSQderivative/~JNgSderive/~VBdermal/~JN@@ -26497,7 +26497,7 @@ gite/NSgive/~VG>SNZzgiveaway/NgSJgiveback/NgS-given/~VTSPNgJ+given/~VTPNSgJp # "Givenness" is a technical word in the branch of philosophy called Phenomenology, so I'm adding it heregiver/~Nggizmo/NSggizzard/NgS@@ -33045,7 +33045,7 @@ marital/~JYmaritime/~Jmarjoram/Ngmark/~NgSVdGr-marked/~JVtTU+marked/~JVtTUp # "Markedness" is a technical term in linguistics, so adding it heremarkedly/~Rymarker/~NgSVmarket/~NgSVd>GZB@@ -38340,7 +38340,7 @@ perturbed/~VJUpertussis/Ngperuke/NgSperusal/NgS-peruse/VGdSN+peruse/VGdNS>perv/~NSVpervade/VdSGpervasive/~JYp@@ -54082,3 +54082,58 @@ work out/V# If you're not confident in using the affix annotations, add missing words here# And they will be reviewed# Word added using the `just addnoun` command will be added here++adposition/NSg+affixation/Nmg+affordance/NSg+affricate/NSg+agglutinative/J+antepenultimate/J+approximant/NSg+allative/NSg+allophone/NSg+benefactive/NSgJ+calque/NSg+clitic/NSg+Compline/NO # Final prayer of the day in the Christian Daily Office and/or Liturgy of the Hours+conlang/NSGg>Vd # conlang (n/v) < "constructed language", plu. 'conlangs', regular verb; also "conlanging" for the activity+denotation/NSgQ+derivation/NSgQ+endonym/NSg+epenthesis/Nm # TODO: not count noun+epenthetic/JQ+evidential/NSg # used in linguistics as a count noun; e.g. "a system of evidentials"+exocentric/JQ+golem/NSg+iconicity/Nmg+imperfective/NSgJ+intentionality/N # From Phenomenology+intervocalic/JQ+lenition/N # non-count+lexicalize/Vd # lexicalized is an adjective+LFG/NOg # Lexical Functional Grammar+licensor/NSg+locative/NSgJ+neurodivergent/J+nonpast/N+omnipredicativity/N0+optative/NSgJ+paucal/NJ+perfective/NSgJ+phenomenological/JQ+phonotactic/JQ+phonotactics/N+postposition/NSg+poststructuralist/NSgJ+prefixation/N+retroflex/J+romanization/NSg+sandhi/Nmg+singulative/NSgJ+supervenience/Nmg # From emergentist ontology+tonogenesis/Nmg+topicalize/Vd>SGZ+topicalization/Nmg+typological/JQ+volitive/NSgJ+worldbuild/Vd>Gdiff --git a/harper-core/tests/text/linters/Part-of-speech tagging.snap.yml b/harper-core/tests/text/linters/Part-of-speech tagging.snap.ymlindex 132e89106..86b350100 100644--- a/harper-core/tests/text/linters/Part-of-speech tagging.snap.yml+++ b/harper-core/tests/text/linters/Part-of-speech tagging.snap.yml@@ -184,18 +184,6 @@ Suggest:-Lint: Spelling (63 priority)-Message: |- 74 | Greek and Latin can be very large; tagging words in agglutinative languages such- | ^~~~~~~~~~~~~ Did you mean to spell `agglutinative` this way?- 75 | as Inuit languages may be virtually impossible. At the other extreme, Petrov et-Suggest:- - Replace with: “agglutinate”- - Replace with: “agglutinating”- - Replace with: “agglutination”---Lint: Spelling (63 priority)Message: |75 | as Inuit languages may be virtually impossible. At the other extreme, Petrov etdiff --git a/harper-core/tests/text/linters/The Great Gatsby.snap.yml b/harper-core/tests/text/linters/The Great Gatsby.snap.ymlindex 3fea64f21..0ee82d5d1 100644--- a/harper-core/tests/text/linters/The Great Gatsby.snap.yml+++ b/harper-core/tests/text/linters/The Great Gatsby.snap.yml@@ -4,8 +4,8 @@ Message: || ^~ Did you mean to spell `F.` this way?Suggest:- Replace with: “Fe”- - Replace with: “F”- Replace with: “Ff”+ - Replace with: “F1”@@ -7666,8 +7666,8 @@ Message: || ^~ Did you mean to spell `F.` this way?Suggest:- Replace with: “Fe”- - Replace with: “F”- Replace with: “Ff”+ - Replace with: “F1”diff --git a/harper-core/tests/text/tagged/Part-of-speech tagging.md b/harper-core/tests/text/tagged/Part-of-speech tagging.mdindex db45c3dcb..b016e1fcc 100644--- a/harper-core/tests/text/tagged/Part-of-speech tagging.md+++ b/harper-core/tests/text/tagged/Part-of-speech tagging.md@@ -143,7 +143,7 @@> cross - language differences . The tag sets for heavily inflected languages such as# NPr/VB/J/P+ . N🅪Sg/VB+ NPl/VB+ . D+ NSg/VB+ NPl/V3 R/C/P R VP/J NPl/V3+ NSg/I NSg/R> Greek and Latin can be very large ; tagging words in agglutinative languages such-# NPr/VB/J VB/C NPr/J NPr/VXB NSg/VXB J/R NSg/J . NSg/Vg NPl/V3+ NPr/J/R/P ? NPl/V3+ NSg/I+# NPr/VB/J VB/C NPr/J NPr/VXB NSg/VXB J/R NSg/J . NSg/Vg NPl/V3+ NPr/J/R/P J NPl/V3+ NSg/I> as Inuit languages may be virtually impossible . At the other extreme , Petrov et# NSg/R NPr/J NPl/V3+ NPr/VXB NSg/VXB R NSg/J . NSg/P D NSg/VB/J NSg/J . ? ?> al. have proposed a " universal " tag set , with 12 categories ( for example , no