edit method deleteWordsFromText of class TextResolver; cretate method generateSet of class TextResolver