terrell@OHIO-STATE.ARPA (Eric Terrell) (09/25/86)
I will post a uuencoded binary of my SPELL program as soon as I get 'phone service (should be Monday, September 29). About the dictionary for SPELL: in the user's guide I mentioned that a dictionary file (really a list of words) is built by the program itself. The program starts out knowing no words, and asks about each word in the file being corrected. After the program has been used for some time, most of the words that you use will be known to the program, and it will only ask about new words and misspelled words. There is no problem with starting out with a big dictionary file. Just name it words.txt and place it on the same disk with spell.prg. This file should be an ordinary text file with one word per line. I don't know where you would get such a file... Hope this helps. I'll post the binary file as soon as possible. Eric Bergman-Terrell
geoffs@BRL.ARPA (Geoffrey Sauerborn, TANK) (09/26/86)
>There is no problem with starting out with a big dictionary file. Just name >it words.txt and place it on the same disk with spell.prg. This file should >be an ordinary text file with one word per line. > >I don't know where you would get such a file... > Just take a big documemt with no spelling errors. (Your lastest doctoral thesis should do nicely). Then run it through a program along these lines: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% WHILE NOT End Of File ( read a line ) WHILE NOT End Of line ( for each character in the line ) IF character is white space THEN print a new line. ELSE output that character ENDWHILE ENDWHILE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Run the program's output through a sort program. Then run the sorted output through a uniq program.
demillo@uwmacc.UUCP (Rob DeMillo) (09/27/86)
Yeah...the binary would be great. I have MCC PASCAL at home, and I tried compiling the source...one problem: there were some routines mentioned in SPELL.PAS that I never heard of...one apparently was a modification of some sort to an alert box. The function was, I beleive, called AT_ALERT. What was that? -- --- Rob DeMillo Madison Academic Computer Center usenet: {ihnp4,harvard,seismo,topaz,decvax}!uwvax!uwmacc!demillo ARPA: demillo@unix.macc.wisc.edu (now isn't that easier?) ---------------------------------------- "I am not so sure what you want me for! 'War Games' Either your machine is a - Crosby, Stills and Nash fool, or me..."