Skip to content

Commit

Permalink
scripts/spelling.txt: add some typo-words
Browse files Browse the repository at this point in the history
I wrote a small script to show word-pair from all linux spelling-typo
commits, and get following result by sort | uniq -c:

    181 occured -> occurred
     78 transfered -> transferred
     67 recieved -> received
     65 dependant -> dependent
     58 wether -> whether
     56 accomodate -> accommodate
     54 occured -> occurred
     51 recieve -> receive
     47 cant -> can't
     40 sucessfully -> successfully
     ...

Some of them are not in spelling.txt, this patch adds the most common
word-pairs into spelling.txt.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Zhao Lei authored and Linus Torvalds committed Sep 4, 2015
1 parent e260fe0 commit 35108d7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ accoring||according
accout||account
accquire||acquire
accquired||acquired
accross||across
acessable||accessible
acess||access
achitecture||architecture
Expand Down Expand Up @@ -100,8 +101,10 @@ appropiate||appropriate
appropriatly||appropriately
approriate||appropriate
approriately||appropriately
apropriate||appropriate
aquainted||acquainted
aquired||acquired
aquisition||acquisition
arbitary||arbitrary
architechture||architecture
arguement||argument
Expand All @@ -111,6 +114,8 @@ arne't||aren't
arraival||arrival
artifical||artificial
artillary||artillery
asign||assign
assertation||assertion
assiged||assigned
assigment||assignment
assigments||assignments
Expand All @@ -136,6 +141,7 @@ automatize||automate
automatized||automated
automatizes||automates
autonymous||autonomous
auxillary||auxiliary
auxilliary||auxiliary
avaiable||available
avaible||available
Expand Down Expand Up @@ -234,6 +240,8 @@ compatability||compatibility
compatable||compatible
compatibiliy||compatibility
compatibilty||compatibility
compatiblity||compatibility
competion||completion
compilant||compliant
compleatly||completely
completly||completely
Expand Down Expand Up @@ -294,6 +302,7 @@ defferred||deferred
definate||definite
definately||definitely
defintion||definition
defintions||definitions
defualt||default
defult||default
deivce||device
Expand All @@ -309,6 +318,7 @@ depreacted||deprecated
depreacte||deprecate
desactivate||deactivate
desciptors||descriptors
descripton||description
descrition||description
descritptor||descriptor
desctiptor||descriptor
Expand All @@ -330,6 +340,7 @@ devided||divided
deviece||device
diable||disable
dictionnary||dictionary
didnt||didn't
diferent||different
differrence||difference
difinition||definition
Expand All @@ -347,6 +358,7 @@ docuentation||documentation
documantation||documentation
documentaion||documentation
documment||document
doesnt||doesn't
dorp||drop
dosen||doesn
downlad||download
Expand Down Expand Up @@ -453,11 +465,13 @@ grahical||graphical
grahpical||graphical
grapic||graphic
guage||gauge
guarenteed||guaranteed
guarentee||guarantee
halfs||halves
hander||handler
handfull||handful
hanled||handled
happend||happened
harware||hardware
heirarchically||hierarchically
helpfull||helpful
Expand Down Expand Up @@ -515,6 +529,7 @@ initialzed||initialized
initilization||initialization
initilize||initialize
inofficial||unofficial
insititute||institute
instal||install
inteface||interface
integreated||integrated
Expand Down Expand Up @@ -549,6 +564,7 @@ invididual||individual
invokation||invocation
invokations||invocations
irrelevent||irrelevant
isnt||isn't
isssue||issue
itslef||itself
jave||java
Expand All @@ -561,6 +577,7 @@ langauage||language
langauge||language
langugage||language
lauch||launch
layed||laid
leightweight||lightweight
lengh||length
lenght||length
Expand Down Expand Up @@ -717,6 +734,7 @@ preceeding||preceding
preceed||precede
precendence||precedence
precission||precision
preemptable||preemptible
prefered||preferred
prefferably||preferably
premption||preemption
Expand Down Expand Up @@ -747,6 +765,7 @@ programers||programmers
programm||program
programms||programs
progresss||progress
promiscous||promiscuous
promps||prompts
pronnounced||pronounced
prononciation||pronunciation
Expand Down Expand Up @@ -820,6 +839,7 @@ reseting||resetting
resizeable||resizable
resouces||resources
resoures||resources
responce||response
ressizes||resizes
ressource||resource
ressources||resources
Expand Down Expand Up @@ -872,6 +892,7 @@ setts||sets
settting||setting
shotdown||shutdown
shoud||should
shouldnt||shouldn't
shoule||should
shrinked||shrunk
siginificantly||significantly
Expand Down Expand Up @@ -916,9 +937,11 @@ straming||streaming
struc||struct
structres||structures
stuct||struct
stucture||structure
sturcture||structure
subdirectoires||subdirectories
suble||subtle
substract||subtract
succesfully||successfully
succesful||successful
successfull||successful
Expand Down Expand Up @@ -1031,6 +1054,7 @@ virtiual||virtual
visiters||visitors
vitual||virtual
wating||waiting
wether||whether
whataver||whatever
whcih||which
whenver||whenever
Expand Down

0 comments on commit 35108d7

Please sign in to comment.