When you calculate the hash of the word being checked, have you converted the word to all lower case or are you hashing a word with upper case letters? The latter will generate a different hash result. I'm also curious why the words in dictionary counts differ.

Only top voted, non community-wiki answers of a minimum length are eligible