'summarize' method adjusted for the nltk 3.0