摘要: #导入os包加载数据目录 import os path = r'E:\dzy' #停词库 with open(r'e:\\stopsCN.txt', encoding='utf-8') as f: stopwords = f.read().split('\n') #对数据进行标准编码处理(encoding='utf-8') import codecs import jie... 阅读全文
posted @ 2018-12-19 10:58 lv3 阅读(248) 评论(0) 推荐(0)