![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
NLTK
k+
这个作者很懒,什么都没留下…
展开
-
NLTK
|similar() | 搜索文章中与目标具有相同上下文的词,这里nltk.text.Text类对象有该属性,list对象没有 ||common_contexts()–|-搜索list中词在文章中出现的共同的两个或两个以上的上下文,这里nltk.text.Text类对象有该属性,list对象没有-|<!DOCTYPE html><html lang="en">&l...原创 2019-03-26 22:09:39 · 1032 阅读 · 0 评论 -
python 自然语言处理
原创 2019-03-26 21:55:13 · 112 阅读 · 0 评论 -
正则表达式
re.match与re.search的区别re.match只匹配字符串的开始,如果字符串开始不符合正则表达式,则匹配失败,函数返回None;而re.search匹配整个字符串,直到找到一个匹配...原创 2019-03-26 22:15:31 · 60 阅读 · 0 评论