Added the proper handling of words with same spelling (or different pronounication).