Word Unscrambler

Jacob Allred
#my-sites#web-dev

If you haven’t heard, I’m moving to Connecticut next Thursday. We haven’t finished packing, but I still found the time to make a new webpage: WordUnscrambler.info.

Here is how it works:

  1. I loaded several popular Scrabble dictionaries into a table.
  2. I loaded Wiktionary into a table.
  3. I created a form that lets a user entered a scrambled word (like EMURLNRASBC).
  4. When the user clicks “Unscramble”, I unscramble the word for them:
    1. I query the dictionary table to find all words that contain all the letters (and the proper amount of each letter) and is the proper length. So in this example, we need all words with two R’s and one of each of those other letters, and it needs to be eleven characters long.
    2. I join this list with the Wiktionary table and find out how many definitions there are for each word.
    3. I sort the list so the words with the most definitions are on top. This helps a little to prevent obscure words from being listed first in situations where there are several words made up of the same letters.
  5. I display all the words that are made from the scrambled letters.

It didn’t take too long to make, and my wife made an awesome logo for it.

So what does EMURLNRASBC unscramble to? Visit Word Unscrambler and find out!