Pyschology researchers are investigating subjects' ability to solve anagrams. As such, they need a way of generating and verifying the solution to anagrams.
For the purpose of this project, let the following definitions hold:
The solution must:
Wordsmith's service sports an impressive number of knobs you can turn to create great anagrams. This thing is awesome. So tempted to just make client library for their api and be done...
https://en.wikipedia.org/wiki/Scrabble_letter_distributions Who would have ever thought
http://norvig.com/mayzner.html - Really good explanations, updates to bigram tables https://stackoverflow.com/a/12477976 - basic algorithm for finding single word anagrams http://pi.math.cornell.edu/~mec/2003-2004/cryptography/subs/digraphs.html - Bigram table I'm using https://web.stanford.edu/class/cs9/sample_probs/Anagrams.pdf - good explanation of algorithm http://www.ssynth.co.uk/~gay/anagabout.html - implementation, but with shoddy details
https://stackoverflow.com/a/881367 - inspiration
Thanks to @seancorfield, @dpsutton, and @porkostomus for help with the partial anagram algorithm!
How the heck do you measure anagram difficulty? It turns out this is a subject of much academic research and debate. I'm a
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close