Oaks, Harold wrote:
Has anyone implemented a form of a spell-checker?  Ideally, not by
calling a Visual Basic or VB.NET application running on each user's PC -
I would prefer on the main server.

I wrote one many years ago that took advantage of a file named WORDS we had hanging around. I think it originally came from a green-screen word processor we had back in the Ultimate days (Jet?). It's just a file filled with IDs for every word in the dictionary. I select it with the built-in soundex function and give the user a list of potential spellings to choose from:

 EXECUTE 'SSELECT WORDS SAID "':WORD:'" WITH NO F1',
   OUT > DUM,
   SELECT > LIST1
 WORD.ARR = ''
 LOOP
   READNEXT WORD.ID FROM LIST1 ELSE EXIT
   WORD.ARR<-1> = WORD.ID
 REPEAT

This works reasonably well.

-John
--
John Hester
System & Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to