python进行分词、去停用词和统计词频

数据的下载连接:连接:https://pan.baidu.com/s/1IyOJfpCu4HRqCmTrVI7b8Q 密码:52u7app import jieba #用jieba库进行分词 #读取数据 text = open('Walden.txt','r',encoding='utf-8').read() len(text) #所有字符变成小写字符 text = text.lower
相关文章
相关标签/搜索