jieba+wordcloud+imageio—自定义词云

import jieba import wordcloud from imageio import imread mask=imread('fivestar.png') def shuchu(): txt=open('threekingdoms.txt','r',encoding='gb18030').read() excludes={'将军','却说','荆州','二人','不可
相关文章
相关标签/搜索