Re: [PATCH] kernel source spellchecker

From: Dan Kegel (dank@kegel.com)
Date: Sat Mar 01 2003 - 13:54:22 EST


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. :-)

Smashing! However, it should probably avoid correcting spellings
in anything but C comments.
Perhaps my C comment parser should be converted to perl and
incorporated into spell-fix.pl, and used to divide the source
file into two streams (comment and noncomment); the comment
stream would be spell-fixed and merged back with the noncomment
stream to create the output.

And thanks to Shaheed for converting my list of misspellings to a correction list!

I suggest we remove the entries
  broken=borken
  brain-damaged=dain-bramaged,dain bramaged
as we're not trying to remove humor from the comments.

Also, the words 'controllen' and 'callin', are not typos, so
  calling=callin
should be removed, and
  controller=controler,controllen
should be just
  controller=controler

The above examples make me think the list of corrections will have
to be very carefully vetted before we turn this thing loose.
- Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:16 EST