modification for basic nltk