getMispellingWordsProbabilities function

Debugging the //Check for synonyms part