
NLP
文章平均质量分 70
Pinaceae
请用法语写代码。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nltk参考文章
黄聪:Python+NLTK自然语言处理学习(三):计算机自动学习机制 http://www.cnblogs.com/huangcong/archive/2011/08/29/2158447.html转载 2017-10-17 13:05:25 · 458 阅读 · 0 评论 -
nlp nltk note(1)
1.下载语料库 import nltk nltk.download() 2.文本简易处理 from nltk.book import * text1 text1.concordance(“”) text1.similar(“”) text5.common_contexts([“boy”,”girl”]) text4.dispersion_plot([“citizens”, “dem原创 2017-10-16 23:17:07 · 418 阅读 · 0 评论 -
nltk练习题
1.制作《理智与情感》中四个主角:Elinor,Marianne,Edward 和Willoughby 的分布图。 在这部小说中关于男性和女性所扮演的不同角色,你能观察到什么?你能找出一对夫妻 吗? text2.dispersion_plot(["Elinor", "Marianne", "Edward", "Willoughby"]) 2.使用的语法my_sent = ["My", "s原创 2017-10-22 17:17:10 · 696 阅读 · 0 评论 -
nltk.获得文本语料和词汇资源
1.获取文本语料库 1.1古滕堡语料库 nltk.corpus.gutenberg.fileids()//古滕堡语料库文件标识符 emma = nltk.corpus.gutenberg.words('austen-emma.txt')emma = nltk.Text(nltk.corpus.gutenberg.words('austen-emma.txt'))//我们调用了NLTK 中的co原创 2017-10-22 18:37:46 · 1267 阅读 · 0 评论 -
Stanford nlp 初步之词性标注
关于词性标记 动词,形容词(4种):VA,VC,VE,VV 1、谓词性形容词:VA 谓词性形容词大致上相当于英语中的形容词和中文语法中、文学作品里的静态动词。我们的谓词性形容词包括两类: 第一类:没有宾语且能被“很”修饰的谓语。 第二类:源自第一类的、通过重叠(如红彤彤)或者通过名词加形容词模式意味着“像N一样A”(如雪白)的谓语。这个类型的谓词性形容词没有宾语,但是转载 2017-10-16 21:24:55 · 1811 阅读 · 0 评论 -
NLP一周总结(一)
1.jieba在ubuntu环境下的安装,命令行中输入 pip install jieba//注意不要进入python环境中,就在系统环境中输入 import jieba str=">>> str="网络可以被看作未经标注的巨大的语料库。网络搜索引擎提供了一个有效的手段,搜索" >>> for t in result: ... print (t) >>> result= jieba.原创 2017-11-08 17:52:33 · 484 阅读 · 0 评论