NLTK future compatibility fix