From 40da31154b46aa8222f65b12a2e06b5255418d9c Mon Sep 17 00:00:00 2001 From: pfc8hp2r6 <2317678682@qq.com> Date: Mon, 16 Sep 2024 19:01:11 +0800 Subject: [PATCH] Delete 'ciyun.py' --- ciyun.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 ciyun.py 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') -