摘要:
from wordcloud import WordCloud import matplotlib.pyplot as plt import jieba path_txt='盗墓笔记.txt' f = open(path_txt,'r',encoding='UTF-8').read() cut_te 阅读全文
posted @ 2020-04-05 10:45
Lo_11
阅读(131)
评论(0)
推荐(0)
摘要:
import jieba txt = open("三国演义.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) counts = {} for word in words: if len(word) == 1: continue e 阅读全文
posted @ 2020-04-05 10:19
Lo_11
阅读(192)
评论(0)
推荐(0)

浙公网安备 33010602011771号