From c6594dec6f6d309d3bda5312c945f621f826f030 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 24 Oct 2024 10:46:43 -0500 Subject: [PATCH] fix(dict): Provisionally accept additionals Fixes #1120 --- crates/typos-dict/assets/allowed.csv | 1 + crates/typos-dict/assets/words.csv | 1 - crates/typos-dict/src/word_codegen.rs | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index 7e74cf6..460183e 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -47,3 +47,4 @@ tesselated,potentially US variant of tessellated tesselating,potentially US variant of tessellating tesselation,potentially US variant of tessellation tesselator,potentially US variant of tessellator +additionals,additional looks like its sometimes a countable noun diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 76dfd70..1986522 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -1298,7 +1298,6 @@ additioanl,additional additioanlly,additionally additiona,additional additionallly,additionally -additionals,additional additionaly,additionally additionalyy,additionally additionnal,additional diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index 8bd0206..6fd1b6e 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -225016,7 +225016,6 @@ pub static WORD_ADDI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("tioanlly"), dictgen::InsensitiveStr::Ascii("tiona"), dictgen::InsensitiveStr::Ascii("tionallly"), - dictgen::InsensitiveStr::Ascii("tionals"), dictgen::InsensitiveStr::Ascii("tionaly"), dictgen::InsensitiveStr::Ascii("tionalyy"), dictgen::InsensitiveStr::Ascii("tionnal"), @@ -225067,7 +225066,6 @@ pub static WORD_ADDI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["additionally"], &["additional"], &["additionally"], - &["additional"], &["additionally"], &["additionally"], &["additional"],