<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 28 Apr 1989 00:37:23 GMT
From   : tektronix!orca!tekecs!frip!andrew@uunet.uu.net (Andrew Klossner)
Subject: Spelling checker routines

[]

       "Checking to see if a word is spelled correctly (based on the
       dictionary) seems fairly simple, but I also would like to have
       it suggest correct spellings for misspelled words. Does anyone
       know of a good way to do that?"

The approach used in the spelling corrector component of the Unica(tm)
utility set was to look through a (separate) dictionary of commonly
misspelled words, which includes the correct spelling:

       mispell:misspell
       seperate:separate

etc.  Any hit is an unconditional misspelling, and the utility suggests
the replacement word to the user.

When other processing finds a misspelled word (a word isn't in the
dictionary, it asks the user if it's right, the user says no), then it
asks for a replacement and adds an entry to the misspelled-word
dictionary.  After a few weeks, the user's commonly misspelled words
are pretty much all in there.

  -=- Andrew Klossner   (uunet!tektronix!orca!frip!andrew)      [UUCP]
                        (andrew%frip.wv.tek.com@relay.cs.net)   [ARPA]


End of INFO-CPM Digest
******************************
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>