nltk errors corrected