摘要:
# -*- coding:utf-8 -*- # @Author : chenfei # @time : 2020/10/23 15:30 # @File : 读取word统计词频输出excel.PY # @Software : PyCharm import docx import jieba fr 阅读全文
摘要:
-- coding:utf-8 -- import jieba 读取文件 f=open(r'E:\Chrome_download\tieba.txt',encoding='utf-8') txt =f.read() print(txt) 分词 words = jieba.lcut(txt) stri 阅读全文