diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index af615a5..8fe85de 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -5,6 +5,7 @@ aactual,actual aactually,actually aadd,add aaggregation,aggregation +aand,and aanother,another aapply,apply aare,are @@ -117,6 +118,7 @@ abosultely,absolutely abosulute,absolute abosulutely,absolutely abotu,about +abou,about,abound abount,about abourt,abort,about abouta,about @@ -5035,6 +5037,7 @@ availeble,available availiable,available availibility,availability availibilty,availability +availibity,availability availible,available availlable,available avaition,aviation @@ -14729,6 +14732,7 @@ descided,decided descides,decides desciding,deciding desciminate,discriminate,disseminate,decimate +descion,decision descipable,despicable desciption,description desciptions,descriptions @@ -23938,6 +23942,7 @@ hitboxers,hitboxes hitboxs,hitboxes hitogram,histogram hiygeine,hygiene +hmtl,html hnalder,handler hodlings,holdings hoeks,hoax @@ -24169,6 +24174,7 @@ htikn,think hting,thing htink,think htis,this +htlm,html htmp,html htting,hitting huanted,haunted @@ -38015,6 +38021,7 @@ proffesed,professed proffesion,profession proffesional,professional proffesor,professor +proffessional,professional proffessor,professor proficeint,proficient proficiancy,proficiency @@ -43217,6 +43224,7 @@ sednetary,sedentary seduciton,seduction seeem,seem seeen,seen +seeked,sought seelect,select seemes,seems seemless,seamless @@ -45746,6 +45754,7 @@ stalagtite,stalactite stalekrs,stalkers stalkear,stalker stalkes,stalkers +stamentent,statement staminia,stamina stamnia,stamina stampade,stamped @@ -48499,6 +48508,7 @@ theyr,their,there theyre,their,there thgat,that thge,the +thhe,the thi,the,this thialand,thailand thicking,thinking,thickening @@ -48544,6 +48554,7 @@ thist,this thisy,this thiunk,think thius,this +thje,the thjese,these thme,them thn,then @@ -48670,6 +48681,7 @@ thrusday,thursday thrusdays,thursdays thryoid,thyroid ths,the,this +thse,the,these thses,these thsi,this thsoe,those @@ -49881,6 +49893,7 @@ tyhe,they tyies,tries tylenool,tylenol tymecode,timecode +tyoe,type,toe tyope,type typcast,typecast typcasting,typecasting @@ -52106,6 +52119,7 @@ visiblities,visibilities visiblity,visibility visiblle,visible visiblly,visibly +visilbity,visibility visinble,visible visious,vicious visisble,visible @@ -52342,6 +52356,7 @@ vulnerabillity,vulnerability vulnerabilties,vulnerabilities vulnerabiltiy,vulnerability vulnerabilty,vulnerability +vulnerabitlies,vulnerabilities vulnerablility,vulnerability vulnerablities,vulnerabilities vulnerablity,vulnerability diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 9ba0072..8b43f8e 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -2962,6 +2962,7 @@ pub static WORD_VULN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("erabilties"), dictgen::InsensitiveStr::Ascii("erabiltiy"), dictgen::InsensitiveStr::Ascii("erabilty"), + dictgen::InsensitiveStr::Ascii("erabitlies"), dictgen::InsensitiveStr::Ascii("erablility"), dictgen::InsensitiveStr::Ascii("erablities"), dictgen::InsensitiveStr::Ascii("erablity"), @@ -3020,6 +3021,7 @@ pub static WORD_VULN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["vulnerabilities"], &["vulnerability"], &["vulnerability"], + &["vulnerabilities"], &["vulnerability"], &["vulnerabilities"], &["vulnerability"], @@ -3695,6 +3697,7 @@ pub static WORD_VISI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("blity"), dictgen::InsensitiveStr::Ascii("blle"), dictgen::InsensitiveStr::Ascii("blly"), + dictgen::InsensitiveStr::Ascii("lbity"), dictgen::InsensitiveStr::Ascii("nble"), dictgen::InsensitiveStr::Ascii("ous"), dictgen::InsensitiveStr::Ascii("sble"), @@ -3721,6 +3724,7 @@ pub static WORD_VISI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["visibility"], &["visible"], &["visibly"], + &["visibility"], &["visible"], &["vicious"], &["visible"], @@ -11139,6 +11143,7 @@ pub static WORD_TY_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg dictgen::InsensitiveStr::Ascii("ies"), dictgen::InsensitiveStr::Ascii("lenool"), dictgen::InsensitiveStr::Ascii("mecode"), + dictgen::InsensitiveStr::Ascii("oe"), dictgen::InsensitiveStr::Ascii("ope"), dictgen::InsensitiveStr::Ascii("pcast"), dictgen::InsensitiveStr::Ascii("pcasting"), @@ -11178,6 +11183,7 @@ pub static WORD_TY_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg &["tries"], &["tylenol"], &["timecode"], + &["type", "toe"], &["type"], &["typecast"], &["typecasting"], @@ -15133,7 +15139,7 @@ static WORD_TH_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str]> Some(&WORD_THE_NODE), None, Some(&WORD_THG_NODE), - None, + Some(&WORD_THH_NODE), Some(&WORD_THI_NODE), Some(&WORD_THJ_NODE), None, @@ -15269,6 +15275,7 @@ static WORD_THS_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen:: pub static WORD_THS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { keys: &[ + dictgen::InsensitiveStr::Ascii("e"), dictgen::InsensitiveStr::Ascii("es"), dictgen::InsensitiveStr::Ascii("i"), dictgen::InsensitiveStr::Ascii("oe"), @@ -15277,6 +15284,7 @@ pub static WORD_THS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("t"), ], values: &[ + &["the", "these"], &["these"], &["this"], &["those"], @@ -15685,9 +15693,12 @@ static WORD_THJ_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen:: }; pub static WORD_THJ_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { - keys: &[dictgen::InsensitiveStr::Ascii("ese")], - values: &[&["these"]], - range: 3..=3, + keys: &[ + dictgen::InsensitiveStr::Ascii("e"), + dictgen::InsensitiveStr::Ascii("ese"), + ], + values: &[&["the"], &["these"]], + range: 1..=3, }; static WORD_THI_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { @@ -15791,6 +15802,17 @@ pub static WORD_THI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict range: 1..=7, }; +static WORD_THH_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { + children: dictgen::DictTrieChild::Flat(&WORD_THH_CHILDREN), + value: None, +}; + +pub static WORD_THH_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { + keys: &[dictgen::InsensitiveStr::Ascii("e")], + values: &[&["the"]], + range: 1..=1, +}; + static WORD_THG_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { children: dictgen::DictTrieChild::Flat(&WORD_THG_CHILDREN), value: None, @@ -25006,13 +25028,20 @@ static WORD_STAM_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen: pub static WORD_STAM_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { keys: &[ + dictgen::InsensitiveStr::Ascii("entent"), dictgen::InsensitiveStr::Ascii("inia"), dictgen::InsensitiveStr::Ascii("nia"), dictgen::InsensitiveStr::Ascii("pade"), dictgen::InsensitiveStr::Ascii("peed"), ], - values: &[&["stamina"], &["stamina"], &["stamped"], &["stamped"]], - range: 3..=4, + values: &[ + &["statement"], + &["stamina"], + &["stamina"], + &["stamped"], + &["stamped"], + ], + range: 3..=6, }; static WORD_STAL_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { @@ -33156,6 +33185,7 @@ pub static WORD_SEE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict keys: &[ dictgen::InsensitiveStr::Ascii("em"), dictgen::InsensitiveStr::Ascii("en"), + dictgen::InsensitiveStr::Ascii("ked"), dictgen::InsensitiveStr::Ascii("lect"), dictgen::InsensitiveStr::Ascii("mes"), dictgen::InsensitiveStr::Ascii("mless"), @@ -33167,6 +33197,7 @@ pub static WORD_SEE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict values: &[ &["seem"], &["seen"], + &["sought"], &["select"], &["seems"], &["seamless"], @@ -51185,6 +51216,7 @@ pub static WORD_PROF_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("fesion"), dictgen::InsensitiveStr::Ascii("fesional"), dictgen::InsensitiveStr::Ascii("fesor"), + dictgen::InsensitiveStr::Ascii("fessional"), dictgen::InsensitiveStr::Ascii("fessor"), dictgen::InsensitiveStr::Ascii("iceint"), dictgen::InsensitiveStr::Ascii("iciancy"), @@ -51247,6 +51279,7 @@ pub static WORD_PROF_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["profession"], &["professional"], &["professor"], + &["professional"], &["professor"], &["proficient"], &["proficiency"], @@ -96308,7 +96341,7 @@ static WORD_H_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str]>> None, None, None, - None, + Some(&WORD_HM_NODE), Some(&WORD_HN_NODE), Some(&WORD_HO_NODE), None, @@ -97142,6 +97175,7 @@ pub static WORD_HT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg dictgen::InsensitiveStr::Ascii("ing"), dictgen::InsensitiveStr::Ascii("ink"), dictgen::InsensitiveStr::Ascii("is"), + dictgen::InsensitiveStr::Ascii("lm"), dictgen::InsensitiveStr::Ascii("mp"), dictgen::InsensitiveStr::Ascii("ting"), ], @@ -97158,6 +97192,7 @@ pub static WORD_HT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg &["think"], &["this"], &["html"], + &["html"], &["hitting"], ], range: 1..=7, @@ -97846,6 +97881,17 @@ pub static WORD_HN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg range: 5..=5, }; +static WORD_HM_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { + children: dictgen::DictTrieChild::Flat(&WORD_HM_CHILDREN), + value: None, +}; + +pub static WORD_HM_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { + keys: &[dictgen::InsensitiveStr::Ascii("tl")], + values: &[&["html"]], + range: 2..=2, +}; + static WORD_HI_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { children: dictgen::DictTrieChild::Nested(&WORD_HI_CHILDREN), value: None, @@ -128632,6 +128678,7 @@ pub static WORD_DESCI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di dictgen::InsensitiveStr::Ascii("des"), dictgen::InsensitiveStr::Ascii("ding"), dictgen::InsensitiveStr::Ascii("minate"), + dictgen::InsensitiveStr::Ascii("on"), dictgen::InsensitiveStr::Ascii("pable"), dictgen::InsensitiveStr::Ascii("ption"), dictgen::InsensitiveStr::Ascii("ptions"), @@ -128662,6 +128709,7 @@ pub static WORD_DESCI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di &["decides"], &["deciding"], &["discriminate", "disseminate", "decimate"], + &["decision"], &["despicable"], &["description"], &["descriptions"], @@ -161968,6 +162016,7 @@ pub static WORD_AVAI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("liable"), dictgen::InsensitiveStr::Ascii("libility"), dictgen::InsensitiveStr::Ascii("libilty"), + dictgen::InsensitiveStr::Ascii("libity"), dictgen::InsensitiveStr::Ascii("lible"), dictgen::InsensitiveStr::Ascii("llable"), dictgen::InsensitiveStr::Ascii("tion"), @@ -162030,6 +162079,7 @@ pub static WORD_AVAI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["available"], &["availability"], &["availability"], + &["availability"], &["available"], &["available"], &["aviation"], @@ -178194,6 +178244,7 @@ pub static WORD_ABO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("sulute"), dictgen::InsensitiveStr::Ascii("sulutely"), dictgen::InsensitiveStr::Ascii("tu"), + dictgen::InsensitiveStr::Ascii("u"), dictgen::InsensitiveStr::Ascii("unt"), dictgen::InsensitiveStr::Ascii("urt"), dictgen::InsensitiveStr::Ascii("uta"), @@ -178246,6 +178297,7 @@ pub static WORD_ABO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["absolute"], &["absolutely"], &["about"], + &["about", "abound"], &["about"], &["abort", "about"], &["about"], @@ -178472,6 +178524,7 @@ pub static WORD_AA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg dictgen::InsensitiveStr::Ascii("ctually"), dictgen::InsensitiveStr::Ascii("dd"), dictgen::InsensitiveStr::Ascii("ggregation"), + dictgen::InsensitiveStr::Ascii("nd"), dictgen::InsensitiveStr::Ascii("nother"), dictgen::InsensitiveStr::Ascii("pply"), dictgen::InsensitiveStr::Ascii("re"), @@ -178487,6 +178540,7 @@ pub static WORD_AA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg &["actually"], &["add"], &["aggregation"], + &["and"], &["another"], &["apply"], &["are"],