FeatureExtraction with Python using nltk library