Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leisurelicht/WordCloud-CN
程序员的浪漫!
https://github.com/leisurelicht/WordCloud-CN
Last synced: about 1 month ago
JSON representation
程序员的浪漫!
- Host: GitHub
- URL: https://github.com/leisurelicht/WordCloud-CN
- Owner: leisurelicht
- Created: 2015-12-22T07:53:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-14T14:21:25.000Z (about 4 years ago)
- Last Synced: 2024-08-01T15:13:17.740Z (4 months ago)
- Language: Python
- Homepage:
- Size: 5.87 MB
- Stars: 23
- Watchers: 2
- Forks: 52
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - WordCloud-CN - 程序员的浪漫! (Python)
README
[![Support Python Version](https://img.shields.io/badge/Python-3.6-brightgreen.svg)](https://www.python.org/)
----
# 中文词云(wordcloud)
使用python生成中文词云
## 什么是词云
【释义】由词汇组成类似云的彩色**图形**。
> 点[我](http://baike.baidu.com/link?url=_uVuO2s1YsSbv0zrhR2s-Wvu9qdyKWlSC9glRc-9huWqFkX6p5KcOH7uW79aGinvWAQc6SNRq17nIzWoaSKZ0K)是百度百科
## 例子
* 流浪地球
![image](./examples/流浪地球.png)
* 张小龙演讲
![image](./examples/张小龙演讲.png)
----
## 依赖安装
#### [wordcloud](https://github.com/amueller/word_cloud)
pip install wordcloud
#### [jieba](http://git.oschina.net/fxsjy/jieba)
pip install jieba
### [示例代码](./wordcloud_cn.py)