updates for NLTK 3.0