From 039edba3de144b95bfba4c6ec83a820935a51ad9 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 29 Mar 2023 21:40:36 -0500 Subject: [PATCH] fix(dict): Add March's typos Fixes #677 --- crates/typos-dict/assets/words.csv | 6 ++++++ crates/typos-dict/src/dict_codegen.rs | 14 +++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index b7a67e5ab..2837c2b16 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -13462,6 +13462,7 @@ deativated,deactivated deativates,deactivates deativation,deactivation deatlhy,deathly +deature,feature deaults,defaults deauthenication,deauthentication debain,debian @@ -13700,6 +13701,7 @@ decroative,decorative decrpt,decrypt decrpted,decrypted decrption,decryption +decryptation,decryption decrytion,decryption decscription,description decsend,descend @@ -18177,6 +18179,7 @@ encrpyted,encrypted encrpytion,encryption encrupted,encrypted encrypiton,encryption +encryptation,encryption encrypte,encrypted,encrypt encrypter,encryptor encryptiion,encryption @@ -40244,6 +40247,7 @@ referene,referee,reference referenece,reference refereneced,referenced refereneces,references +referenecs,references referenence,reference referenenced,referenced referenences,references @@ -44216,6 +44220,7 @@ signatur,signature signficant,significant signficantly,significantly signficiant,significant +signficiantly,significantly signfies,signifies signfiy,signify signguature,signature @@ -48095,6 +48100,7 @@ technicaly,technically technicans,technicians technichan,technician technichian,technician +technicial,technical technicials,technicians technicien,technician techniciens,technicians diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 2c0f7d79e..149f6e5fe 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -17689,6 +17689,7 @@ pub static WORD_TEC_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("hnicans"), dictgen::InsensitiveStr::Ascii("hnichan"), dictgen::InsensitiveStr::Ascii("hnichian"), + dictgen::InsensitiveStr::Ascii("hnicial"), dictgen::InsensitiveStr::Ascii("hnicials"), dictgen::InsensitiveStr::Ascii("hnicien"), dictgen::InsensitiveStr::Ascii("hniciens"), @@ -17753,6 +17754,7 @@ pub static WORD_TEC_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["technicians"], &["technician"], &["technician"], + &["technical"], &["technicians"], &["technician"], &["technicians"], @@ -30611,6 +30613,7 @@ pub static WORD_SIGN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("ficant"), dictgen::InsensitiveStr::Ascii("ficantly"), dictgen::InsensitiveStr::Ascii("ficiant"), + dictgen::InsensitiveStr::Ascii("ficiantly"), dictgen::InsensitiveStr::Ascii("fies"), dictgen::InsensitiveStr::Ascii("fiy"), dictgen::InsensitiveStr::Ascii("guature"), @@ -30659,6 +30662,7 @@ pub static WORD_SIGN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["significant"], &["significantly"], &["significant"], + &["significantly"], &["signifies"], &["signify"], &["signature"], @@ -44673,6 +44677,7 @@ pub static WORD_REFERE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d dictgen::InsensitiveStr::Ascii("nece"), dictgen::InsensitiveStr::Ascii("neced"), dictgen::InsensitiveStr::Ascii("neces"), + dictgen::InsensitiveStr::Ascii("necs"), dictgen::InsensitiveStr::Ascii("nence"), dictgen::InsensitiveStr::Ascii("nenced"), dictgen::InsensitiveStr::Ascii("nences"), @@ -44719,6 +44724,7 @@ pub static WORD_REFERE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d &["reference"], &["referenced"], &["references"], + &["references"], &["reference"], &["referenced"], &["references"], @@ -117676,6 +117682,7 @@ pub static WORD_ENCR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("pytion"), dictgen::InsensitiveStr::Ascii("upted"), dictgen::InsensitiveStr::Ascii("ypiton"), + dictgen::InsensitiveStr::Ascii("yptation"), dictgen::InsensitiveStr::Ascii("ypte"), dictgen::InsensitiveStr::Ascii("ypter"), dictgen::InsensitiveStr::Ascii("yptiion"), @@ -117696,6 +117703,7 @@ pub static WORD_ENCR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["encryption"], &["encrypted"], &["encryption"], + &["encryption"], &["encrypted", "encrypt"], &["encryptor"], &["encryption"], @@ -117704,7 +117712,7 @@ pub static WORD_ENCR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["encryption"], &["encrypted"], ], - range: 2..=7, + range: 2..=8, }; static WORD_ENCO_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { @@ -133086,6 +133094,7 @@ pub static WORD_DECR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("pt"), dictgen::InsensitiveStr::Ascii("pted"), dictgen::InsensitiveStr::Ascii("ption"), + dictgen::InsensitiveStr::Ascii("yptation"), dictgen::InsensitiveStr::Ascii("ytion"), ], values: &[ @@ -133118,6 +133127,7 @@ pub static WORD_DECR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["decrypted"], &["decryption"], &["decryption"], + &["decryption"], ], range: 2..=8, }; @@ -133836,6 +133846,7 @@ pub static WORD_DEAT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("ivates"), dictgen::InsensitiveStr::Ascii("ivation"), dictgen::InsensitiveStr::Ascii("lhy"), + dictgen::InsensitiveStr::Ascii("ure"), ], values: &[ &["detach"], @@ -133852,6 +133863,7 @@ pub static WORD_DEAT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["deactivates"], &["deactivation"], &["deathly"], + &["feature"], ], range: 2..=7, };