自然语言处理
commak
这个作者很懒,什么都没留下…
展开
-
python与自然语言处理-读书笔记3
The goal of this chapter is to answer the following questions:1.怎么获取本地和网络文本 How can we write programs to access text from local files and from the web, in order to get hold of an unlimited range of...原创 2020-04-14 21:37:32 · 484 阅读 · 0 评论 -
python与自然语言处理-读书笔记2
controlif control structurefor loop >>> sent1 = ['Call', 'me', 'Ishmael', '.']>>> for xyzzy in sent1:... if xyzzy.endswith('l'):... print(xyzzy)...CallIshmael&g...原创 2020-03-30 22:23:48 · 569 阅读 · 0 评论 -
python与自然语言处理1
来源网址本篇-4.3from nltk.book import *搜索文本索引行text1.concordance(“big”)最多展示25个。?如何展示更多??big的其他形式如bigger可否也展示?通配符如何显示相似词语text1.similar(“big”)并不是指相同意思,而是指出现在相同上下文,有点类似于索绪尔还是乔姆斯基说的语言的聚合关系?For...原创 2020-03-24 21:35:37 · 469 阅读 · 0 评论 -
R语言与自然语言处理 中文分词与标注
原文学习链接直接分词cn = “我爱中国”worker() -> wksegment(cn,wk)[1] “我” “爱” “中国”词典查看路径show_dictpath()[1] “C:/Users/comma/Documents/R/win-library/3.6/jiebaRD/dict”对“user.dict.utf8”这个文件进行更改。使用记事本...原创 2020-01-30 10:49:12 · 2058 阅读 · 1 评论