Checking for Synonyms in Text