# nltk 用于自然语言处理(NLP)和文本分析的开源工具包 ## Usage ``` import nltk for word in nltk.word_tokenize(question): pass nltk.download('punkt') nltk.download('nps_chat') posts = nltk.corpus.nps_chat.xml_posts() ```