Álvaro Ramírez
Find a word with regex and WordNet
Recently wanted to come up with a random keyword. Querying WordNet and a regular expression did the job.
Installed WordNet on Mac:
$ brew install wordnet
Want a word ending in "esome"?
$ wn esome -grepn -grepv -grepa -grepr | egrep -o -e "\w*esome\b" | sort | uniq
adventuresome
awesome
blithesome
bunglesome
cuddlesome
esome
fivesome
gruesome
lithesome
lonesome
lovesome
meddlesome
mettlesome
nettlesome
threesome
tiresome
torturesome
troublesome
unwholesome
venturesome
wholesome