天问 1ea77f9c08 Update 'README.md' | 9 months ago | |
---|---|---|
README.md | 9 months ago |
用于自然语言处理(NLP)和文本分析的开源工具包
import nltk
for word in nltk.word_tokenize(question):
pass
nltk.download('punkt')
nltk.download('nps_chat')
posts = nltk.corpus.nps_chat.xml_posts()