Python天然语言处理-学习笔记(1)——nltk入门经常使用函数

from nltk.book import *   #首先导入包函数 1.   text.concordance(word)   # 搜索word的上下文blog 2.   text.similar(word)   #还有哪些词出如今类似的上下文中io 3.   text.common_contexts([word1,word2…])  #搜索两个或以上word共用的上下文class 4.   t
相关文章
相关标签/搜索