getMispellingWordsProbabilities function

Add in the function getMispellingWordsProbabilities the misspelling check (by checking if the word has synonyms).