mirror of
https://github.com/crate-ci/typos.git
synced 2025-02-15 09:33:00 -05:00
Merge pull request #975 from epage/grammarly
fix(dict): Avoid correcting common terms
This commit is contained in:
commit
0af318159d
3 changed files with 16 additions and 24 deletions
9
crates/typos-dict/assets/allowed.csv
vendored
9
crates/typos-dict/assets/allowed.csv
vendored
|
@ -24,3 +24,12 @@ eof,end-of-file in programming
|
||||||
eol,end-of-line in programming
|
eol,end-of-line in programming
|
||||||
og,OpenGraph which is used for previews of websites on social media
|
og,OpenGraph which is used for previews of websites on social media
|
||||||
jst,abbreviation of Japan Standard Time in tz database
|
jst,abbreviation of Japan Standard Time in tz database
|
||||||
|
guid,globally-unique-identifier in programming
|
||||||
|
ime,abbreviation of Input Method Editor
|
||||||
|
ws,common abbreviation for websocket and workspace
|
||||||
|
iot,acronym for Internet of Things
|
||||||
|
iis,IIS is the webserver from Microsoft
|
||||||
|
ro,acronym for read-only
|
||||||
|
dur,abbreviation for duration
|
||||||
|
ang,abbreviation for angle
|
||||||
|
lst,abbreviation for list especially when list is a built-in like Python
|
||||||
|
|
|
9
crates/typos-dict/assets/words.csv
vendored
9
crates/typos-dict/assets/words.csv
vendored
|
@ -3110,7 +3110,6 @@ anesthisia,anesthesia
|
||||||
anevironment,environment
|
anevironment,environment
|
||||||
anevironments,environments
|
anevironments,environments
|
||||||
anfd,and
|
anfd,and
|
||||||
ang,and
|
|
||||||
angirly,angrily
|
angirly,angrily
|
||||||
angluar,angular
|
angluar,angular
|
||||||
angostic,agnostic
|
angostic,agnostic
|
||||||
|
@ -21029,7 +21028,6 @@ dupplicates,duplicates
|
||||||
dupplicating,duplicating
|
dupplicating,duplicating
|
||||||
dupplication,duplication
|
dupplication,duplication
|
||||||
dupplications,duplications
|
dupplications,duplications
|
||||||
dur,due
|
|
||||||
durabiliy,durability
|
durabiliy,durability
|
||||||
durabillity,durability
|
durabillity,durability
|
||||||
durabiltiy,durability
|
durabiltiy,durability
|
||||||
|
@ -28272,7 +28270,6 @@ guerrilas,guerrillas
|
||||||
guerrillera,guerrilla
|
guerrillera,guerrilla
|
||||||
guesss,guess,guesses
|
guesss,guess,guesses
|
||||||
gueswork,guesswork
|
gueswork,guesswork
|
||||||
guid,guide
|
|
||||||
guideance,guidance
|
guideance,guidance
|
||||||
guideded,guided
|
guideded,guided
|
||||||
guidence,guidance
|
guidence,guidance
|
||||||
|
@ -29764,7 +29761,6 @@ iimmune,immune
|
||||||
iin,in
|
iin,in
|
||||||
iinclude,include
|
iinclude,include
|
||||||
iinterval,interval
|
iinterval,interval
|
||||||
iis,is
|
|
||||||
iit,it
|
iit,it
|
||||||
iiterator,iterator
|
iiterator,iterator
|
||||||
iland,island
|
iland,island
|
||||||
|
@ -29917,7 +29913,6 @@ imcompatible,incompatible
|
||||||
imcompetence,incompetence
|
imcompetence,incompetence
|
||||||
imcomplete,incomplete
|
imcomplete,incomplete
|
||||||
imcomprehensible,incomprehensible
|
imcomprehensible,incomprehensible
|
||||||
ime,time
|
|
||||||
imedatly,immediately
|
imedatly,immediately
|
||||||
imedialy,immediately
|
imedialy,immediately
|
||||||
imediate,immediate
|
imediate,immediate
|
||||||
|
@ -33801,7 +33796,6 @@ ioclt,ioctl
|
||||||
iomaped,iomapped
|
iomaped,iomapped
|
||||||
ionde,inode
|
ionde,inode
|
||||||
iornman,ironman
|
iornman,ironman
|
||||||
iot,it
|
|
||||||
iound,round,wound
|
iound,round,wound
|
||||||
iplementation,implementation
|
iplementation,implementation
|
||||||
ipmrovement,improvement
|
ipmrovement,improvement
|
||||||
|
@ -35790,7 +35784,6 @@ lsit,list,slit,sit
|
||||||
lsiting,listing
|
lsiting,listing
|
||||||
lsits,lists,slits,sits
|
lsits,lists,slits,sits
|
||||||
lso,also
|
lso,also
|
||||||
lst,last
|
|
||||||
luanched,launched
|
luanched,launched
|
||||||
luancher,launcher
|
luancher,launcher
|
||||||
luanchers,launchers
|
luanchers,launchers
|
||||||
|
@ -51727,7 +51720,6 @@ rmove,remove
|
||||||
rmoved,removed
|
rmoved,removed
|
||||||
rmoving,removing
|
rmoving,removing
|
||||||
rnage,rage,range
|
rnage,rage,range
|
||||||
ro,to
|
|
||||||
roachers,roaches
|
roachers,roaches
|
||||||
roahces,roaches
|
roahces,roaches
|
||||||
roataion,rotation
|
roataion,rotation
|
||||||
|
@ -64938,7 +64930,6 @@ wryth,writhe
|
||||||
wrythed,writhed
|
wrythed,writhed
|
||||||
wrythes,writhes
|
wrythes,writhes
|
||||||
wrything,writhing
|
wrything,writhing
|
||||||
ws,was
|
|
||||||
wsee,see
|
wsee,see
|
||||||
wser,user
|
wser,user
|
||||||
wth,with
|
wth,with
|
||||||
|
|
Can't render this file because it is too large.
|
|
@ -848,7 +848,7 @@ pub static WORD_WT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
|
|
||||||
static WORD_WS_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_WS_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
children: dictgen::DictTrieChild::Flat(&WORD_WS_CHILDREN),
|
children: dictgen::DictTrieChild::Flat(&WORD_WS_CHILDREN),
|
||||||
value: Some(&["was"]),
|
value: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub static WORD_WS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
pub static WORD_WS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
||||||
|
@ -45177,7 +45177,7 @@ pub static WORD_RP_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
|
|
||||||
static WORD_RO_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_RO_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
children: dictgen::DictTrieChild::Nested(&WORD_RO_CHILDREN),
|
children: dictgen::DictTrieChild::Nested(&WORD_RO_CHILDREN),
|
||||||
value: Some(&["to"]),
|
value: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
static WORD_RO_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str]>>; 26] = [
|
static WORD_RO_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str]>>; 26] = [
|
||||||
|
@ -99731,7 +99731,6 @@ pub static WORD_LS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
dictgen::InsensitiveStr::Ascii("iting"),
|
dictgen::InsensitiveStr::Ascii("iting"),
|
||||||
dictgen::InsensitiveStr::Ascii("its"),
|
dictgen::InsensitiveStr::Ascii("its"),
|
||||||
dictgen::InsensitiveStr::Ascii("o"),
|
dictgen::InsensitiveStr::Ascii("o"),
|
||||||
dictgen::InsensitiveStr::Ascii("t"),
|
|
||||||
],
|
],
|
||||||
values: &[
|
values: &[
|
||||||
&["last", "slat", "sat"],
|
&["last", "slat", "sat"],
|
||||||
|
@ -99740,7 +99739,6 @@ pub static WORD_LS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
&["listing"],
|
&["listing"],
|
||||||
&["lists", "slits", "sits"],
|
&["lists", "slits", "sits"],
|
||||||
&["also"],
|
&["also"],
|
||||||
&["last"],
|
|
||||||
],
|
],
|
||||||
range: 1..=5,
|
range: 1..=5,
|
||||||
};
|
};
|
||||||
|
@ -106372,7 +106370,6 @@ pub static WORD_IO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
dictgen::InsensitiveStr::Ascii("maped"),
|
dictgen::InsensitiveStr::Ascii("maped"),
|
||||||
dictgen::InsensitiveStr::Ascii("nde"),
|
dictgen::InsensitiveStr::Ascii("nde"),
|
||||||
dictgen::InsensitiveStr::Ascii("rnman"),
|
dictgen::InsensitiveStr::Ascii("rnman"),
|
||||||
dictgen::InsensitiveStr::Ascii("t"),
|
|
||||||
dictgen::InsensitiveStr::Ascii("und"),
|
dictgen::InsensitiveStr::Ascii("und"),
|
||||||
],
|
],
|
||||||
values: &[
|
values: &[
|
||||||
|
@ -106380,10 +106377,9 @@ pub static WORD_IO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
&["iomapped"],
|
&["iomapped"],
|
||||||
&["inode"],
|
&["inode"],
|
||||||
&["ironman"],
|
&["ironman"],
|
||||||
&["it"],
|
|
||||||
&["round", "wound"],
|
&["round", "wound"],
|
||||||
],
|
],
|
||||||
range: 1..=5,
|
range: 3..=5,
|
||||||
};
|
};
|
||||||
|
|
||||||
static WORD_IN_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_IN_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
|
@ -118972,7 +118968,7 @@ pub static WORD_IMF_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
|
||||||
|
|
||||||
static WORD_IME_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_IME_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
children: dictgen::DictTrieChild::Flat(&WORD_IME_CHILDREN),
|
children: dictgen::DictTrieChild::Flat(&WORD_IME_CHILDREN),
|
||||||
value: Some(&["time"]),
|
value: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub static WORD_IME_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
pub static WORD_IME_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
||||||
|
@ -119550,7 +119546,6 @@ pub static WORD_II_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
dictgen::InsensitiveStr::Ascii("n"),
|
dictgen::InsensitiveStr::Ascii("n"),
|
||||||
dictgen::InsensitiveStr::Ascii("nclude"),
|
dictgen::InsensitiveStr::Ascii("nclude"),
|
||||||
dictgen::InsensitiveStr::Ascii("nterval"),
|
dictgen::InsensitiveStr::Ascii("nterval"),
|
||||||
dictgen::InsensitiveStr::Ascii("s"),
|
|
||||||
dictgen::InsensitiveStr::Ascii("t"),
|
dictgen::InsensitiveStr::Ascii("t"),
|
||||||
dictgen::InsensitiveStr::Ascii("terator"),
|
dictgen::InsensitiveStr::Ascii("terator"),
|
||||||
],
|
],
|
||||||
|
@ -119560,7 +119555,6 @@ pub static WORD_II_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
&["in"],
|
&["in"],
|
||||||
&["include"],
|
&["include"],
|
||||||
&["interval"],
|
&["interval"],
|
||||||
&["is"],
|
|
||||||
&["it"],
|
&["it"],
|
||||||
&["iterator"],
|
&["iterator"],
|
||||||
],
|
],
|
||||||
|
@ -125000,7 +124994,6 @@ static WORD_GUI_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::
|
||||||
|
|
||||||
pub static WORD_GUI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
pub static WORD_GUI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
||||||
keys: &[
|
keys: &[
|
||||||
dictgen::InsensitiveStr::Ascii("d"),
|
|
||||||
dictgen::InsensitiveStr::Ascii("deance"),
|
dictgen::InsensitiveStr::Ascii("deance"),
|
||||||
dictgen::InsensitiveStr::Ascii("deded"),
|
dictgen::InsensitiveStr::Ascii("deded"),
|
||||||
dictgen::InsensitiveStr::Ascii("dence"),
|
dictgen::InsensitiveStr::Ascii("dence"),
|
||||||
|
@ -125015,7 +125008,6 @@ pub static WORD_GUI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
|
||||||
dictgen::InsensitiveStr::Ascii("tarit"),
|
dictgen::InsensitiveStr::Ascii("tarit"),
|
||||||
],
|
],
|
||||||
values: &[
|
values: &[
|
||||||
&["guide"],
|
|
||||||
&["guidance"],
|
&["guidance"],
|
||||||
&["guided"],
|
&["guided"],
|
||||||
&["guidance"],
|
&["guidance"],
|
||||||
|
@ -125029,7 +125021,7 @@ pub static WORD_GUI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
|
||||||
&["guitars"],
|
&["guitars"],
|
||||||
&["guitarist"],
|
&["guitarist"],
|
||||||
],
|
],
|
||||||
range: 1..=6,
|
range: 3..=6,
|
||||||
};
|
};
|
||||||
|
|
||||||
static WORD_GUE_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_GUE_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
|
@ -148711,7 +148703,7 @@ pub static WORD_DUS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
|
||||||
|
|
||||||
static WORD_DUR_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_DUR_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
children: dictgen::DictTrieChild::Flat(&WORD_DUR_CHILDREN),
|
children: dictgen::DictTrieChild::Flat(&WORD_DUR_CHILDREN),
|
||||||
value: Some(&["due"]),
|
value: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub static WORD_DUR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
pub static WORD_DUR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
||||||
|
@ -208789,7 +208781,7 @@ pub static WORD_ANH_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
|
||||||
|
|
||||||
static WORD_ANG_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_ANG_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
children: dictgen::DictTrieChild::Flat(&WORD_ANG_CHILDREN),
|
children: dictgen::DictTrieChild::Flat(&WORD_ANG_CHILDREN),
|
||||||
value: Some(&["and"]),
|
value: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub static WORD_ANG_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
pub static WORD_ANG_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
||||||
|
|
Loading…
Add table
Reference in a new issue