Comparing words with dict