摘要: import nltk import numpy as np import re from nltk.corpus import stopwords # 1 分词1 text = "Sentiment analysis is a challenging subject in machine learning.\ People express their emotions in languag... 阅读全文
posted @ 2018-07-26 02:46 Elpsywk 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 参考https://blog.csdn.net/zxm1306192988/article/details/78896319 以NLTK为基础配合讲解自然语言处理的原理 http://www.nltk.org/ Python上著名的自然语⾔处理库 自带语料库,词性分类库 自带分类,分词,等功能 强⼤ 阅读全文
posted @ 2018-07-26 00:28 Elpsywk 阅读(2803) 评论(0) 推荐(0) 编辑
摘要: 1. CC Coordinating conjunction 连接词2. CD Cardinal number 基数词3. DT Determiner 限定词(如this,that,these,those,such,不定限定词:no,some,any,each,every,enough,either 阅读全文
posted @ 2018-07-26 00:06 Elpsywk 阅读(4373) 评论(0) 推荐(0) 编辑