3 ms·
You could use nltk's wordnet to generate a bunch of words of certain kinds. As a proof of concept, UNIX should have a list of words, probably in /usr/share/dict
by wisty 15y ago
You could use nltk's wordnet to generate a bunch of words of certain kinds. As a proof of concept, UNIX should have a list of words, probably in /usr/share/dict/words (OSX) or maybe /usr/dict/words.
/usr/share/dict/words is likely to be pretty big, over 200k words, but it's still human readable. You could prune it by removing proper words (i.e. anything capitalized).
- muxxa 15y agoAlso might be a good idea to take the Metaphone of the words, and only select words from the dictionary that have unique metaphones.