home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp48 / 6356 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.sys.hp48
  2. Path: sparky!uunet!mcsun!sun4nl!gamma!jurjen
  3. From: jurjen@gamma.irdeto.nl (/home/other/jurj)
  4. Subject: Re: Dictionary / Spell Checker ...
  5. Message-ID: <BzEBtt.2yI@gamma.irdeto.nl>
  6. Summary: Very good idea!
  7. Keywords: spell
  8. Sender: Jurjen N.E. Bos
  9. Organization: STORC, Postbus 616, Eindhoven, the Netherlands
  10. References: <16DEC92195551@pyros.hacks.arizona.edu>
  11. Distribution: world,local
  12. Date: Thu, 17 Dec 1992 09:03:29 GMT
  13. Lines: 16
  14.  
  15.  
  16. It is a good idea to make a spelling card.  The problem would be to make a good
  17. compression algorithm to be able to get a reasonable amount of words on the
  18. card.  This is possible using the sorted order.
  19. Suggested software:
  20. - search for words alphabetically
  21. - search for partial match
  22. - search anagrams
  23. - play boggle, word master mind
  24. Anyone who wants to make a card like that can consult me for algorithms.  I do
  25. not have the time to make one myself, unfortunately!
  26. -- 
  27. /*---   Jurjen N.E. Bos   -------------------   Email: jurjen@irdeto.nl   ---*/
  28.  
  29. int a=10000,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0,g=c*2;c
  30. -=14,printf("%.4d",e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b);}
  31.