diff --git a/Cargo.lock b/Cargo.lock index 069eda5..387d5aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -377,7 +377,7 @@ dependencies = [ "anes", "cast", "ciborium", - "clap 4.2.5", + "clap 4.3.0", "criterion-plot", "is-terminal", "itertools", diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index fd21bed..c6e73bc 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -2,3 +2,5 @@ nilable,used in ruby community thead,html tag hardlinked,filesystem term referer,http header field +deques,noun +dequeues,verb diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index b8b7253..117492e 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -7932,6 +7932,7 @@ charakter,character charakters,characters chararacter,character chararcter,character +chararcters,characters charas,chars charascters,characters charasmatic,charismatic @@ -14145,6 +14146,7 @@ delaership,dealership delaerships,dealerships delagate,delegate delagates,delegates +delaing,delaying delaloc,delalloc delalyed,delayed delapidated,dilapidated @@ -14593,6 +14595,7 @@ deployement,deployment deploymenet,deployment deploymenets,deployments deploymnet,deployment +deply,deploy deplying,deploying deplyoing,deploying deplyoment,deployment @@ -14661,7 +14664,6 @@ depseration,desperation depsise,despise depsoited,deposited dequed,dequeued -deques,dequeues derageable,dirigible deragotory,derogatory deram,dram,dream @@ -21501,6 +21503,7 @@ fiter,filter,fighter,fitter,fiver fitering,filtering fiters,filters,fighters,fitters,fivers fitler,filter +fitlered,filtered fitlers,filters fivety,fifty fixe,fixed,fixes,fix,fixme,fixer @@ -24586,6 +24589,7 @@ idividually,individually idividuals,individuals iechart,piechart ierland,ireland +iformation,information ifself,itself ignitin,ignition ignoded,ignored @@ -31407,6 +31411,7 @@ misterious,mysterious misteriously,mysteriously mistery,mystery misteryous,mysterious +mistmatch,mismatch mistmatches,mismatches mistread,mistreated mistreaded,mistreated @@ -34816,6 +34821,7 @@ pakage,package pakageimpl,packageimpl pakages,packages pakcage,package +pakcages,packages paket,packet pakge,package pakistain,pakistani diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 7b3bbe9..1dd43d1 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -62664,6 +62664,7 @@ pub static WORD_PAK_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("ageimpl"), dictgen::InsensitiveStr::Ascii("ages"), dictgen::InsensitiveStr::Ascii("cage"), + dictgen::InsensitiveStr::Ascii("cages"), dictgen::InsensitiveStr::Ascii("et"), dictgen::InsensitiveStr::Ascii("ge"), dictgen::InsensitiveStr::Ascii("istain"), @@ -62680,6 +62681,7 @@ pub static WORD_PAK_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["packageimpl"], &["packages"], &["package"], + &["packages"], &["packet"], &["package"], &["pakistani"], @@ -74557,6 +74559,7 @@ pub static WORD_MIST_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("eriously"), dictgen::InsensitiveStr::Ascii("ery"), dictgen::InsensitiveStr::Ascii("eryous"), + dictgen::InsensitiveStr::Ascii("match"), dictgen::InsensitiveStr::Ascii("matches"), dictgen::InsensitiveStr::Ascii("read"), dictgen::InsensitiveStr::Ascii("readed"), @@ -74577,6 +74580,7 @@ pub static WORD_MIST_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["mysteriously"], &["mystery"], &["mysterious"], + &["mismatch"], &["mismatches"], &["mistreated"], &["mistreated"], @@ -96533,9 +96537,12 @@ static WORD_IF_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::D }; pub static WORD_IF_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { - keys: &[dictgen::InsensitiveStr::Ascii("self")], - values: &[&["itself"]], - range: 4..=4, + keys: &[ + dictgen::InsensitiveStr::Ascii("ormation"), + dictgen::InsensitiveStr::Ascii("self"), + ], + values: &[&["information"], &["itself"]], + range: 4..=8, }; static WORD_IE_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { @@ -107257,6 +107264,7 @@ pub static WORD_FIT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("ering"), dictgen::InsensitiveStr::Ascii("ers"), dictgen::InsensitiveStr::Ascii("ler"), + dictgen::InsensitiveStr::Ascii("lered"), dictgen::InsensitiveStr::Ascii("lers"), ], values: &[ @@ -107264,6 +107272,7 @@ pub static WORD_FIT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["filtering"], &["filters", "fighters", "fitters", "fivers"], &["filter"], + &["filtered"], &["filters"], ], range: 2..=5, @@ -129932,11 +129941,8 @@ static WORD_DEQ_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen:: }; pub static WORD_DEQ_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { - keys: &[ - dictgen::InsensitiveStr::Ascii("ued"), - dictgen::InsensitiveStr::Ascii("ues"), - ], - values: &[&["dequeued"], &["dequeues"]], + keys: &[dictgen::InsensitiveStr::Ascii("ued")], + values: &[&["dequeued"]], range: 3..=3, }; @@ -130172,6 +130178,7 @@ pub static WORD_DEPL_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("oymenet"), dictgen::InsensitiveStr::Ascii("oymenets"), dictgen::InsensitiveStr::Ascii("oymnet"), + dictgen::InsensitiveStr::Ascii("y"), dictgen::InsensitiveStr::Ascii("ying"), dictgen::InsensitiveStr::Ascii("yoing"), dictgen::InsensitiveStr::Ascii("yoment"), @@ -130191,11 +130198,12 @@ pub static WORD_DEPL_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["deployment"], &["deployments"], &["deployment"], + &["deploy"], &["deploying"], &["deploying"], &["deployment"], ], - range: 3..=8, + range: 1..=8, }; static WORD_DEPI_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { @@ -131764,6 +131772,7 @@ pub static WORD_DELA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("erships"), dictgen::InsensitiveStr::Ascii("gate"), dictgen::InsensitiveStr::Ascii("gates"), + dictgen::InsensitiveStr::Ascii("ing"), dictgen::InsensitiveStr::Ascii("loc"), dictgen::InsensitiveStr::Ascii("lyed"), dictgen::InsensitiveStr::Ascii("pidated"), @@ -131782,6 +131791,7 @@ pub static WORD_DELA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["dealerships"], &["delegate"], &["delegates"], + &["delaying"], &["delalloc"], &["delayed"], &["dilapidated"], @@ -153094,8 +153104,9 @@ pub static WORD_CHARAR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d keys: &[ dictgen::InsensitiveStr::Ascii("acter"), dictgen::InsensitiveStr::Ascii("cter"), + dictgen::InsensitiveStr::Ascii("cters"), ], - values: &[&["character"], &["character"]], + values: &[&["character"], &["character"], &["characters"]], range: 4..=5, };