对《孔乙已》文章的分析及生成词云
摘要:
import jieba as j import wordcloud as wc txt = open("孔乙已.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) # 使用精确模式对文本进行分词 counts = {} # 通过键 阅读全文
posted @ 2020-04-16 20:55 秦安233 阅读(256) 评论(1) 推荐(0)
浙公网安备 33010602011771号