Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: HenHanna Newsgroups: comp.lang.lisp,comp.lang.scheme Subject: From JoyceUlysses.txt -- words occurring exactly once Date: Thu, 30 May 2024 13:09:39 -0700 Organization: A noiseless patient Spider Lines: 23 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 30 May 2024 22:09:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f52218980f176c0dd32f4029d8d739d1"; logging-data="1916118"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6rzA6AzKlnTXYGNmst5paZRpzqsYOmIE=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:WgFTgUR9FsrgTqElm82oqyLLD7c= Content-Language: en-US Bytes: 1591 i'd not use Gauche for this, but maybe someone can change my mind. _______________________ From JoyceUlysses.txt -- words occurring exactly once Given a text file of a novel (JoyceUlysses.txt) ... could someone give me a pretty fast (and simple) program that'd give me a list of all words occurring exactly once? -- Also, a list of words occurring once, twice or 3 times re: hyphenated words (you can treat it anyway you like) ideally, i'd treat [editor-in-chief] [go-ahead] [pen-knife] [know-how] [far-fetched] ... as one unit.