added case sensitivity switch to thesaurus