mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 23:52:12 -05:00
Merge pull request #306 from epage/dict
refactor(dict): Remove useless entries
This commit is contained in:
commit
56cf2e17b6
3 changed files with 6 additions and 25 deletions
1
.github/workflows/codegen.yml
vendored
1
.github/workflows/codegen.yml
vendored
|
@ -29,6 +29,7 @@ jobs:
|
|||
toolchain: 1.53.0 # MSRV
|
||||
profile: minimal
|
||||
override: true
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Verify typos-dict
|
||||
run: |
|
||||
|
|
8
crates/typos-dict/assets/words.csv
vendored
8
crates/typos-dict/assets/words.csv
vendored
|
@ -240,8 +240,6 @@ authobiographic,autobiographic
|
|||
awknowledgement,acknowledgement
|
||||
bureaucratische,bureaucratic
|
||||
cardiovascualar,cardiovascular
|
||||
carnagie-mellon,carnegie-mellon
|
||||
carnigie-mellon,carnegie-mellon
|
||||
celebrationists,celebrations
|
||||
charactaristics,characteristics
|
||||
characterisitcs,characteristics
|
||||
|
@ -11263,7 +11261,6 @@ climatiser,climates
|
|||
clincially,clinically
|
||||
clitoridis,clitoris
|
||||
clitorious,clitoris
|
||||
co-incided,coincided
|
||||
cockroachs,cockroaches
|
||||
cockroahes,cockroaches
|
||||
coefficent,coefficient
|
||||
|
@ -17307,7 +17304,6 @@ clitorius,clitoris
|
|||
clucthing,clutching
|
||||
clutchign,clutching
|
||||
cluthcing,clutching
|
||||
coca cola,coca-cola
|
||||
cockatils,cocktails
|
||||
cocktials,cocktails
|
||||
cognizent,cognizant
|
||||
|
@ -18900,7 +18896,6 @@ nessecary,necessary
|
|||
newcaslte,newcastle
|
||||
newcastel,newcastle
|
||||
nieghbour,neighbour
|
||||
nightfa;;,nightfall
|
||||
nightlcub,nightclub
|
||||
nigthclub,nightclub
|
||||
nigthlife,nightlife
|
||||
|
@ -24748,7 +24743,7 @@ algerba,algebra
|
|||
alienet,alienate
|
||||
alledge,allege
|
||||
allegry,allergy
|
||||
alltime,all-time
|
||||
alltime
|
||||
almighy,almighty
|
||||
alochol,alcohol
|
||||
alotted,allotted
|
||||
|
@ -27551,7 +27546,6 @@ offred,offered
|
|||
omited,omitted
|
||||
ouevre,oeuvre
|
||||
oxigen,oxygen
|
||||
p0enis,penis
|
||||
packge,package
|
||||
peaple,people
|
||||
pensle,pencil
|
||||
|
|
Can't render this file because it is too large.
|
|
@ -8,23 +8,9 @@ pub static WORD_TRIE: dictgen::DictTrie<&'static [&'static str]> = dictgen::Dict
|
|||
};
|
||||
|
||||
pub static WORD_UNICODE_TABLE: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
||||
keys: &[
|
||||
dictgen::InsensitiveStr::Ascii("carnagie-mellon"),
|
||||
dictgen::InsensitiveStr::Ascii("carnigie-mellon"),
|
||||
dictgen::InsensitiveStr::Ascii("co-incided"),
|
||||
dictgen::InsensitiveStr::Ascii("coca cola"),
|
||||
dictgen::InsensitiveStr::Ascii("nightfa;;"),
|
||||
dictgen::InsensitiveStr::Ascii("p0enis"),
|
||||
],
|
||||
values: &[
|
||||
&["carnegie-mellon"],
|
||||
&["carnegie-mellon"],
|
||||
&["coincided"],
|
||||
&["coca-cola"],
|
||||
&["nightfall"],
|
||||
&["penis"],
|
||||
],
|
||||
range: 6..=15,
|
||||
keys: &[],
|
||||
values: &[],
|
||||
range: 0..=0,
|
||||
};
|
||||
|
||||
static WORD_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||
|
@ -88918,7 +88904,7 @@ pub static WORD_ALL_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
|
|||
&["allophones"],
|
||||
&["already"],
|
||||
&["although"],
|
||||
&["all-time"],
|
||||
&[],
|
||||
&["altogether"],
|
||||
],
|
||||
range: 3..=9,
|
||||
|
|
Loading…
Reference in a new issue