Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!ibmarc!ibmarc.uucp!ebm From: ebm@ibmarc.uucp (Eli Messinger) Newsgroups: comp.sources.wanted Subject: Dictionary word look-up Message-ID: <772@ks.UUCP> Date: 21 Apr 89 21:29:53 GMT Sender: news@ibmarc.UUCP Reply-To: ebm@ibmarc.uucp (Eli Messinger) Organization: S.Q.U.A.S.H. Lines: 11 I'd like a C routine that takes a word list such as the standard /usr/dict/words and performs word look-up, much as 'spell' does, but only one word at a time. It should do all the necessary munging to get plurals and other pre- and suffixes. Ideally there should be a single function call isword(s), which returns true or false, depending on if the string s is a word. I've had little luck trying to extract this function from 'spell' itself, but if anyone has a suggestion as to how, that would also be appreciated. -- CSNET: ebm@ibm.com / UUCP: ...!uunet!ibmarc!ebm / VNET: ebm@almaden