adjust nltk py3compat