From fae45ae57f661ce3a285582c0db3b3a62be21e61 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 8 Nov 2024 08:51:04 -0600 Subject: [PATCH] fix(dict): Recognize alloced and requestor Part of #1150 --- crates/typos-dict/assets/allowed.csv | 2 ++ crates/typos-dict/assets/words.csv | 3 --- crates/typos-dict/src/word_codegen.rs | 6 ------ 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index 460183e..c74a3c7 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -48,3 +48,5 @@ 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 +requestor,domain-specific variant of requester +alloced,past tense of common programming abbreviation alloc diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 08b45e0..5a36a3e 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -2572,7 +2572,6 @@ alloccate,allocate alloccated,allocated alloccates,allocates alloccating,allocating -alloced,allocated alloco,alloc allococate,allocate allocos,allocs @@ -53431,8 +53430,6 @@ requestested,requested requestests,requests,requested requestet,requested requestied,requested -requestor,requester -requestors,requesters requestying,requesting requet,request requeted,requested diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index 38f19de..d1dd819 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -52644,8 +52644,6 @@ pub static WORD_REQUE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di dictgen::InsensitiveStr::Ascii("stests"), dictgen::InsensitiveStr::Ascii("stet"), dictgen::InsensitiveStr::Ascii("stied"), - dictgen::InsensitiveStr::Ascii("stor"), - dictgen::InsensitiveStr::Ascii("stors"), dictgen::InsensitiveStr::Ascii("stying"), dictgen::InsensitiveStr::Ascii("t"), dictgen::InsensitiveStr::Ascii("ted"), @@ -52676,8 +52674,6 @@ pub static WORD_REQUE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di &["requests", "requested"], &["requested"], &["requested"], - &["requester"], - &["requesters"], &["requesting"], &["request"], &["requested"], @@ -225037,7 +225033,6 @@ pub static WORD_ALLOC_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di dictgen::InsensitiveStr::Ascii("cated"), dictgen::InsensitiveStr::Ascii("cates"), dictgen::InsensitiveStr::Ascii("cating"), - dictgen::InsensitiveStr::Ascii("ed"), dictgen::InsensitiveStr::Ascii("o"), dictgen::InsensitiveStr::Ascii("ocate"), dictgen::InsensitiveStr::Ascii("os"), @@ -225085,7 +225080,6 @@ pub static WORD_ALLOC_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di &["allocated"], &["allocates"], &["allocating"], - &["allocated"], &["alloc"], &["allocate"], &["allocs"],