Re: [PATCH] kernel source spellchecker

Matthias Schniedermeyer
2003-03-01T17:03:04Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1037 bytes --]

Hi

On Sat, 1 Mar 2003, Matthias Schniedermeyer wrote:

> I've no spelling knowledge, so the list of spellcorrections must be made
> by someone else. But i can volunteer the perl-snippet to correct the
> files. :-)

Take 1.01

A minor revision of the perl-programm. Now it ignores empty lines,
removes comments and leading/trailing whitespaces.
In debug-mode it now prints what words where missspelled (3x"s"?)
The spell-file (default "spell_fix.txt") is now searched also in the
directory from where spell_fix.pl was started.

And the list contributed by shaheed
(minus "everytime=everytime" and "Auxillary=Auxillary")

With this list a run over 2.5.63 found 2866 spelling-errors. (counting the
+ lines in the diff.) The diff is 18690 lines long (846689 bytes)

Bis denn

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.

[-- Attachment #2: Type: APPLICATION/x-perl, Size: 4377 bytes --]

[-- Attachment #3: Type: TEXT/plain, Size: 2349 bytes --]

accommodate=accomodate
adapter=adaptor
address=adddress
additional=additionnal
alignment=alignement
always=allways
appropriate=apropriate
around=arround
associated=assosciated,assosiated
asynchronous=asyncronous
available=availible,avaliable
basically=basicly
being=beeing
broken=borken
boundary=boundry
brain-damaged=dain-bramaged,dain bramaged
calling=callin
capabilities=capabilites
chosen=choosen
command=comamnd
coming=comming
committed=commited
comparison=comparision
Compatibility=Compatability
compatibility=compatibilty,compatiblity
completely=completly
concurrent=concurent
Continuous=Continous
continuous=continous
controller=controler,controllen
corresponding=coresponding
decrementor=decrementer
descriptor=decriptor,desciptor
deferred=defered
definitions=defintions
dependent=dependend
divide=devide
differentiate=differenciate
entries=entrys
explicitly=explicitely
forward=foward
function=fuction,funtion
guaranteed=guarenteed
handling=handeling
hardware=harware
physical=hysical
immediately=immediatly,
implementation=implemantation,implmentation
Incoming=Incomming
incoming=incomming
index=indice
information=infomation
Infinity=Inifity
initial=inital
initialization=initalization,initilization,intialization
Initialize=Initalize,Intialize
initialize=initalize,intialize
interface=inteface
Interrupt=Interupt
interrupt=interrrupt
interrupts=interrups
interval=intervall
invocation=invokation
Length=Lenght
management=managment
necessary=neccessary
negotiated=negociated
No-one=Noone
occurred=occured
occurrance=occurence
occurring=occuring
output=ouput
outputting=outputing
overridden=overriden
parameter=paramter
parameters=paramters
performance=performace
promiscuous=promiscous
receiving=receving
Receive=Recieve
receive=recieve
received=recieved
registered=registred
Register=Regsiter
relevant=relevent
resources=ressources
scatter=scather
specific=specifc
specified=specifed,speficied
successful=succesful,successfull
superfluous=superflous
threshold=threshhold
through=throught
timing=timming
transceiver=tranceiver
transferring=transfering
transmitting=transmiting
transferred=trasfered
truly=truely
ugliness=uglyness
usable=useable
useful=usefull
vertices=verticies
warranty=waranty
wasteful=watseful
writing=writting