making nltk Text object from text data