Tue June 11, 2003

FT source files.

FT.CPP                          -   Main program
CHKWORD.CPP                     -   Spell check subroutine

NEWDIC.CPP                      -   Creates "wordlist.cmp"
BSORT.C                         -   Sort utility

WORDLIST.NEW                    -   Ascii dictionary of 6,500 words
WORDLIST.CMP                    -   Compressed dictionary, produced by
                                    NEWDIC, used as #include by CHKWORD

To generate FT.EXE compile and link FT.CPP and CHKWORD.CPP together.
e.g. with Borland C Builder

BCC32 FT.CPP CHKWORD.CPP

CHKWORD needs WORDLIST.CMP as an include. This is the dictionary,
encoded as C data statements.

To change the dictionary, update WORDLIST.NEW. Each word is in lower
case, one per line, arranged alphabetically. BSORT can be used as a sort
program to put the words in sequence and remove any duplicates.

NEWDIC is used to convert the ascii dictionary to a compessed form in C
data statement format.  Different names, can be given to different
dictionaries. The name WORDLIST.CMP is hard coded into CHKWORD.CPP

The call line for NEWDIC is:-

NEWDIC  ascii-dictionary-file   compressed-file-name

e.g.

NEWDIC  WORDLIST.NEW  WORDLIST.CMP


Paul E. Bennett
Barton Systems Limited

email

PaulEBennett@Onetel.net.uk
