Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!ucbvax!BRL.ARPA!geoffs From: geoffs@BRL.ARPA (Geoffrey Sauerborn, TANK) Newsgroups: net.micro.atari16 Subject: Re: SPELL - Executable File and Dictionary Message-ID: <8609270418.AA00350@ucbvax.Berkeley.EDU> Date: Fri, 26-Sep-86 10:47:31 EDT Article-I.D.: ucbvax.8609270418.AA00350 Posted: Fri Sep 26 10:47:31 1986 Date-Received: Tue, 30-Sep-86 03:58:10 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 24 >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.