Sujet : From JoyceUlysses.txt -- words occurring exactly once
De : HenHanna (at) *nospam* devnull.tb (HenHanna)
Groupes : comp.lang.pythonDate : 30. May 2024, 21:03:33
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3am2l$1qf6m$3@dont-email.me>
User-Agent : Mozilla Thunderbird
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python 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)
but ideally, i'd treat [editor-in-chief]
[go-ahead] [pen-knife]
[know-how] [far-fetched] ...
as one unit.