import nltk from nltk.corpus import brown from nltk.tokenize import word_tokenize from collections import Counter