diff --git a/ciyun.py b/ciyun.py deleted file mode 100644 index dfee4ef..0000000 --- a/ciyun.py +++ /dev/null @@ -1,19 +0,0 @@ -import wordcloud -import jieba - -f= open('D:\danmucrawler\danmupapa\danmu.txt',encoding='utf-8') -text=f.read() -print(text) -llist=jieba.lcut(text) -string=''.join(llist) -wc=wordcloud.WordCloud( - width=1000, - height=500, - background_color='white', - font_path='msyh', - scale=15 - -) -wc.generate(string) -wc.to_file('ciyun.png') -