home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11669 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!news
  2. From: brazile@cs.utexas.edu (P. Jason Brazile)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Spelling Checkers..
  5. Date: 28 Jul 1992 10:02:21 -0500
  6. Organization: CS Dept, University of Texas at Austin
  7. Lines: 19
  8. Message-ID: <l7aobtINN84s@latexo.cs.utexas.edu>
  9. References: <memo.545029@cix.compulink.co.uk>
  10. NNTP-Posting-Host: latexo.cs.utexas.edu
  11.  
  12. In article <memo.545029@cix.compulink.co.uk> time@cix.compulink.co.uk writes:
  13. >I have been asked to write a spelling checker, I have get a list of word but 
  14. >i am looking for a fast/efficient/small method of codeing the word list, any 
  15. >suggestions or pointers to books/code samples would be most wellcome. 
  16.  
  17. You are welcome to look at the source to jspell - an ispell-like spelling 
  18. checker I wrote in C that runs under MSDOS. It will run under UNIX, too, when
  19. I finish the curses interface. I use a simple statistical method of compressing
  20. the words and then store them in a chained hash table which is pregenerated
  21. and loaded in at run time. I had to do some less than obvious things to get
  22. the program + ~50,000 words to fit in 640K of memory.
  23.  
  24. The source is available via anonymous ftp:
  25.  
  26.             math.utexas.edu:/pub/jspell
  27. ===
  28. Jason Brazile                     brazile@cs.utexas.edu
  29. Graduate Student                Dept of Computer Science 
  30. "People say I'm apathetic but I don't care"     University of Texas
  31.