Skip to content

sugarlesss/demo-python-jieba

Repository files navigation

jiebaDemo

Python中文分词,根据词频生成词云图片

How to run it?

1、安装依赖

pip install -r requirements.txt -i https://pypi.douban.com/simple/

2、run

jieba_rectangle_wordcloud.py

读取本地文件,生成白底矩形词云图

python jieba_rectangle_wordcloud.py

jieba_arbitrary_shape_wordcloud.py

读取本地文件,根据图片的形状和颜色生成词云图

python jieba_arbitrary_shape_wordcloud.py

About

Python中文分词,根据词频生成词云图片

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages