A fun anagram ranker for golang, inspired by this post by Mark Dominus:
Supports Levenshtein and Hamming string distance functions.
anagram [command]
Available Commands:
find Find anagrams
help Help about any command
rank Rank anagrams
Flags:
--config string config file (default is $HOME/.anagram.yaml)
--friendly chomp and uniq the input (default true)
--words string dictionary file (one word per line)
Using wordlists downloaded from KeithV's Big English Word Lists
$ anagram find --words wlist_match10.txt
$ cat wlist_match{8..10}.txt | anagram find
$ anagram rank --words wlist_match10.txt
$ cat wlist_match{8..10}.txt | anagram rank