diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 4fa3e7d..ad6a263 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -14742,6 +14742,9 @@ dervie,derive dervied,derived dervies,derives dervived,derived +derypt,decrypt +derypted,decrypted +deryption,decryption desactivate,deactivate desactivated,deactivated desallocate,deallocate @@ -18399,6 +18402,9 @@ enrolement,enrollment enrollemnt,enrollment enrties,entries enrty,entry +enrypt,encrypt +enrypted,encrypted +enryption,encryption ensalve,enslave ensalved,enslaved ensconsed,ensconced diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 23bd022..eca10f2 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -116988,8 +116988,19 @@ pub static WORD_ENR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("ollemnt"), dictgen::InsensitiveStr::Ascii("ties"), dictgen::InsensitiveStr::Ascii("ty"), + dictgen::InsensitiveStr::Ascii("ypt"), + dictgen::InsensitiveStr::Ascii("ypted"), + dictgen::InsensitiveStr::Ascii("yption"), + ], + values: &[ + &["enrollment"], + &["enrollment"], + &["entries"], + &["entry"], + &["encrypt"], + &["encrypted"], + &["encryption"], ], - values: &[&["enrollment"], &["enrollment"], &["entries"], &["entry"]], range: 2..=7, }; @@ -129408,10 +129419,25 @@ static WORD_DER_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str] Some(&WORD_DERV_NODE), None, None, - None, + Some(&WORD_DERY_NODE), None, ]; +static WORD_DERY_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { + children: dictgen::DictTrieChild::Flat(&WORD_DERY_CHILDREN), + value: None, +}; + +pub static WORD_DERY_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { + keys: &[ + dictgen::InsensitiveStr::Ascii("pt"), + dictgen::InsensitiveStr::Ascii("pted"), + dictgen::InsensitiveStr::Ascii("ption"), + ], + values: &[&["decrypt"], &["decrypted"], &["decryption"]], + range: 2..=5, +}; + static WORD_DERV_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { children: dictgen::DictTrieChild::Flat(&WORD_DERV_CHILDREN), value: None,