adapted to nltk v.3.0