Skip to content

Commit

Permalink
fix(dict): Don't correct parametrized
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 2, 2024
1 parent 679c99c commit 97bbab8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 4 additions & 0 deletions crates/typos-dict/assets/allowed.csv
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ 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
parametrization,accepted alternative to parameterization
parametrizations,accepted alternative to parameterizations
parametrized,accepted alternative to parameterized
parametrize,accepted alternative to parameterize
3 changes: 1 addition & 2 deletions crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -44903,8 +44903,6 @@ parametr,parameter
parametre,parameter
parametreless,parameterless
parametres,parameters
parametrizations,parameterizations
parametrized,parameterized
parametros,parameters
parametrs,parameters
parametter,parameter
Expand All @@ -44924,6 +44922,7 @@ paramterised,parameterised
paramterises,parameterises
paramterising,parameterising
paramterization,parametrization,parameterization
paramterizations,parametrizations,parameterizations
paramterize,parameterize
paramterized,parameterized
paramterizes,parameterizes
Expand Down
10 changes: 4 additions & 6 deletions crates/typos-dict/src/word_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82100,6 +82100,7 @@ pub static WORD_PARAMT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d
dictgen::InsensitiveStr::Ascii("erises"),
dictgen::InsensitiveStr::Ascii("erising"),
dictgen::InsensitiveStr::Ascii("erization"),
dictgen::InsensitiveStr::Ascii("erizations"),
dictgen::InsensitiveStr::Ascii("erize"),
dictgen::InsensitiveStr::Ascii("erized"),
dictgen::InsensitiveStr::Ascii("erizes"),
Expand All @@ -82121,6 +82122,7 @@ pub static WORD_PARAMT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d
&["parameterises"],
&["parameterising"],
&["parametrization", "parameterization"],
&["parametrizations", "parameterizations"],
&["parameterize"],
&["parameterized"],
&["parameterizes"],
Expand All @@ -82130,7 +82132,7 @@ pub static WORD_PARAMT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d
&["parameters"],
&["parametrical"],
],
range: 2..=9,
range: 2..=10,
};

static WORD_PARAMS_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
Expand Down Expand Up @@ -82224,8 +82226,6 @@ pub static WORD_PARAME_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d
dictgen::InsensitiveStr::Ascii("tre"),
dictgen::InsensitiveStr::Ascii("treless"),
dictgen::InsensitiveStr::Ascii("tres"),
dictgen::InsensitiveStr::Ascii("trizations"),
dictgen::InsensitiveStr::Ascii("trized"),
dictgen::InsensitiveStr::Ascii("tros"),
dictgen::InsensitiveStr::Ascii("trs"),
dictgen::InsensitiveStr::Ascii("tter"),
Expand Down Expand Up @@ -82272,14 +82272,12 @@ pub static WORD_PARAME_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d
&["parameter"],
&["parameterless"],
&["parameters"],
&["parameterizations"],
&["parameterized"],
&["parameters"],
&["parameters"],
&["parameter"],
&["parameters"],
],
range: 1..=10,
range: 1..=8,
};

static WORD_PARAMA_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
Expand Down

0 comments on commit 97bbab8

Please sign in to comment.