摘要:
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 阅读全文
摘要:
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 阅读全文