Skip to contentSkip to conversation

kernel source spellchecker

PATCH New Jared Daniel J. Smith 5 participants 7 messages Mar 2, 2003 – Mar 3, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Regarding these two cautious comments:

==========================================================================
I wouldn't go that far. Better give a list of speling mistakes (file/line) and fix them by hand. It won't need to be done more than occasionally, so the overhead is not too bad. --Dr. Horst H. von Brand

It might also be worth adding a list of 'suspect' spellings -- which require human intervention. Such items might include 'indices=indexes' and 'erratum=errata' although you can't do it automatically because sometimes the right-hand side is actually correct. --David Woodhouse
==========================================================================

I fully agree.

I have tried to automatically spell-check long, complex texts for years, with numerous algorithms; all of them fail for one reason or another, and I find that the only proper way to do it is the tedious work by hand.

Even a single lost pun because of overenthusiastic spellchecking is not worth the cleanup. I would prefer to see typos than lose a single intentional 'misspelling'. It would be best if you posted all changes somewhere so that they could be verified manually.

Consider the following:

alignment=alignement
alignmement is French; is this intentional?

constants=konstants
konstants is German; is this intentional?

consumer=comsumer
comsumer is a neologism: http://www.firstmonday.dk/issues/issue5_5/henshall/

Converted=Coverted
is it a pun on something 'hidden' or is it something transformed?

descriptor=decriptor,desciptor
is it descriptor or decrypter?

invocation=invokation
invokation is German; is this intentional?

negative=negativ
negativ is a legitimate non-English word; is this intentional?

signaled=signalled
signaling=Signalling
signaling=signalling
signalled is a legitimate alternate spelling of signaled.

succeeded=succeded
succeded could also be a typo for 'succeed'

through=throught,throuth
throught could also be a typo for 'thought'

writable=writeable
writeable is a legitimate alternate spelling of writable

Thank you,

-Jared

#1 lore raw

"Jared Daniel J. Smith" <[email protected]> wrote:
[...]

Quoted 2 lines

constants=konstants
konstants is German; is this intentional?

[...]

Quoted 2 lines

invocation=invokation
invokation is German; is this intentional?

Both may look German (since they have the 'k' instead of an 'c') but they seem more like Germanisms:
'constant' is (as a noun) "Konstante", the plural is "Konstanten" (see e.g. http://dict.leo.org/?p=T8PXU.&search=constants).
'invokation' is absolutely not-existing in German, see
http://dict.leo.org/?p=T8PXU.&search=invocation. In case of function one would use "Aufruf" (similar to "call a function").

Bernd, getting somewhat off-topic

Signature · 4 lines
Bernd Petrovitsch                              Email : [email protected]
g.a.m.s gmbh                                  Fax : +43 1 205255-900
Prinz-Eugen-Straße 8                    A-1040 Vienna/Austria/Europe
                     LUGA : http://www.luga.at
#2 lore raw
Quoted 3 lines · Bernd Petrovitsch

'invokation' is absolutely not-existing in German, see
http://dict.leo.org/?p=T8PXU.&search=invocation. In case of function one would use "Aufruf" (similar to "call a function").

That's not entirely true. If you capitalize it, it means the act of calling upon your God(s), i.e. something a distressed programmer may in fact end up doing ;-)

- Werner

Signature · 3 lines
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         [email protected] /
/_http://www.almesberger.net/____________________________________________/
#3 lore raw
Quoted 8 lines · Werner Almesberger
Quoted 3 lines · Bernd Petrovitsch

'invokation' is absolutely not-existing in German, see
http://dict.leo.org/?p=T8PXU.&search=invocation. In case of function one would use "Aufruf" (similar to "call a function").

That's not entirely true. If you capitalize it, it means the act of calling upon your God(s), i.e. something a distressed programmer may in fact end up doing ;-)

ACK (as usual, Werner is right):
http://www.xipolis.net/03411d6535c36372d9c8396ca394a93d/suche/abstract.php?shortname=felix&artikel_id=80254
Never heard of it before, though.

[ sorry for the long broken URL ]

Bernd

Signature · 4 lines
Bernd Petrovitsch                              Email : [email protected]
g.a.m.s gmbh                                  Fax : +43 1 205255-900
Prinz-Eugen-Straße 8                    A-1040 Vienna/Austria/Europe
                     LUGA : http://www.luga.at
#4 lore raw
In reply to Jared Daniel J. Smith
Quoted 15 lines · Jared Daniel J. Smith

Regarding these two cautious comments:

==========================================================================
I wouldn't go that far. Better give a list of speling mistakes (file/line) and fix them by hand. It won't need to be done more than occasionally, so the overhead is not too bad. --Dr. Horst H. von Brand

It might also be worth adding a list of 'suspect' spellings -- which require human intervention. Such items might include 'indices=indexes' and 'erratum=errata' although you can't do it automatically because sometimes the right-hand side is actually correct. --David Woodhouse
==========================================================================

I fully agree.

Quoted 8 lines

I have tried to automatically spell-check long, complex texts for years, with numerous algorithms; all of them fail for one reason or another, and I find that the only proper way to do it is the tedious work by hand.

Even a single lost pun because of overenthusiastic spellchecking is not worth the cleanup. I would prefer to see typos than lose a single intentional 'misspelling'. It would be best if you posted all changes somewhere so that they could be verified manually.

More agreement. In this case it's better to commit a sin of omission than one of commission. In my recent cleanups, here are three cases which were left alone:

./arch/sparc/kernel/head.S: * Sun people can't spell worth damn. "compatability" indeed.
./drivers/net/myri_sbus.h: u32 shakedown; /* DarkkkkStarrr Crashesss... */
./drivers/scsi/FlashPoint.c: return(0); /*We WON! Yeeessss! */

Quoted 3 lines

Consider the following:

[snip]

Quoted 4 lines

Converted=Coverted
is it a pun on something 'hidden' or is it something transformed?

./drivers/media/radio/radio-aimslab.c: * Coverted to new API by Alan Cox <[email protected]>
./drivers/media/radio/radio-gemtek.c: * Coverted to new API by Alan Cox <[email protected]>
./drivers/media/radio/radio-rtrack2.c: * Coverted to new API by Alan Cox <[email protected]>

Alan's humor can be subtle. Better to ask him. AC added to cc list. I just hope he doesn't start to pun "yn Cymraeg"

Steven

#5 lore raw
Quoted 5 lines · Steven Cole

./drivers/media/radio/radio-aimslab.c: * Coverted to new API by Alan Cox <[email protected]>
./drivers/media/radio/radio-gemtek.c: * Coverted to new API by Alan Cox <[email protected]>
./drivers/media/radio/radio-rtrack2.c: * Coverted to new API by Alan Cox <[email protected]>

Alan's humor can be subtle. Better to ask him. AC added to cc list.

Cut & waste accident. Those should be fixed

#6 lore raw

PATCH 1/1 2.5.63-current fix Coverted -> Converted , was (Re: [PATCH] kernel source spellchecker)

This patch fixes what might have been a joke, but wasn't.

Coverted -> Converted

One down, 285 to go.

Steven

Quoted 10 lines · Alan Cox
Quoted 5 lines · Steven Cole

./drivers/media/radio/radio-aimslab.c: * Coverted to new API by Alan Cox <[email protected]>
./drivers/media/radio/radio-gemtek.c: * Coverted to new API by Alan Cox <[email protected]>
./drivers/media/radio/radio-rtrack2.c: * Coverted to new API by Alan Cox <[email protected]>

Alan's humor can be subtle. Better to ask him. AC added to cc list.

Cut & waste accident. Those should be fixed

drivers/media/radio/radio-aimslab.c +1 -1
diff -ur bk-current/drivers/media/radio/radio-aimslab.c linux/drivers/media/radio/radio-aimslab.c
@@ -1,6 +1,6 @@
 /* radiotrack (radioreveal) driver for Linux radio support
  * (c) 1997 M. Kirkwood
- * Coverted to new API by Alan Cox <[email protected]>
+ * Converted to new API by Alan Cox <[email protected]>
  * Various bugfixes and enhancements by Russell Kroll <[email protected]>
  *
  * History:
drivers/media/radio/radio-gemtek.c +1 -1
diff -ur bk-current/drivers/media/radio/radio-gemtek.c linux/drivers/media/radio/radio-gemtek.c
@@ -8,7 +8,7 @@
  *    RadioTrack II driver for Linux radio support (C) 1998 Ben Pfaff
  * 
  *    Based on RadioTrack I/RadioReveal (C) 1997 M. Kirkwood
- *    Coverted to new API by Alan Cox <[email protected]>
+ *    Converted to new API by Alan Cox <[email protected]>
  *    Various bugfixes and enhancements by Russell Kroll <[email protected]>
  *
  * TODO: Allow for more than one of these foolish entities :-)
drivers/media/radio/radio-rtrack2.c +1 -1
diff -ur bk-current/drivers/media/radio/radio-rtrack2.c linux/drivers/media/radio/radio-rtrack2.c
@@ -1,7 +1,7 @@
 /* RadioTrack II driver for Linux radio support (C) 1998 Ben Pfaff
  * 
  * Based on RadioTrack I/RadioReveal (C) 1997 M. Kirkwood
- * Coverted to new API by Alan Cox <[email protected]>
+ * Converted to new API by Alan Cox <[email protected]>
  * Various bugfixes and enhancements by Russell Kroll <[email protected]>
  *
  * TODO: Allow for more than one of these foolish entities :-)