I'm not sure if this the the appropriate group or if there's a FAQ (I
couldn't find one.)
I was just wondering out of odd curiosity: how does spellcheck in Word, or
any spellchecker, work?
I mean, upon detecting a word that isn't in it's dictionary, how does Word
go about suggesting a correction? My guess is that it first checks against a
database of common misspellings. After that, maybe it checks broad
categories for the suspected part of speech intended: noun, verb, adjective,
etc. in order to narrow the subsequent search somewhat.
After that, what?
Curious,
K.
Mike Williams [MVP] - 26 Dec 2003 09:55 GMT
> I'm not sure if this the the appropriate group or if there's a FAQ (I
> couldn't find one.)
[quoted text clipped - 8 lines]
> noun, verb, adjective, etc. in order to narrow the subsequent search
> somewhat.
The spell-checker has no knowledge of parts of speech or surrounding words.
Doug Potter briefly describes the (patented) workings of the English
spell-checker in an earlier post here:
http://groups.google.com.au/groups?q=doug+potter+spelling+grammar+patent&hl=en&l
r=&ie=UTF-8&oe=UTF-8&selm=O4z9Iz9hDHA.1272%40TK2MSFTNGP09.phx.gbl&rnum=1

Signature
Mike Williams - Office MVP http://www.mvps.org/faq/
Please respond in the same thread on this newsgroup - not by email!
Include details of your application and Windows versions, plus any
service pack updates. Answers may also be found by reading recent
posts, checking the FAQs or searching the relevant Google archive at.
http://groups.google.com/groups?group=microsoft.public
If something doesn't make sense, it could be worse e.g.
http://www.rathergood.com/moon_song/
Kevin Chang - 27 Dec 2003 14:05 GMT
> > I'm not sure if this the the appropriate group or if there's a FAQ (I
> > couldn't find one.)
[quoted text clipped - 13 lines]
> Doug Potter briefly describes the (patented) workings of the English
> spell-checker in an earlier post here:
http://groups.google.com.au/groups?q=doug+potter+spelling+grammar+patent&hl=
en&lr=&ie=UTF-8&oe=UTF-8&selm=O4z9Iz9hDHA.1272%40TK2MSFTNGP09.phx.gbl&rnum=1
Thanks a ton. :) Curiosity now satisfied.
K.