Repository Details
Shared by
HelloGitHub Rating
0 ratings
Python 的词云生成工具
Past 6 days Received 2 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 10,542 | — |
| 周三 | 10,542 | 0 |
| 周四 | 10,542 | 0 |
| 周五 | 10,541 | -1 |
| 周六 | 10,542 | +1 |
| 周日 | 10,544 | +2 |
10.5k
Stars
No
Chinese
Python
Language
No
Active
76
Contributors
144
Issues
No
Organization
None
Latest
2k
Forks
MIT
License

Python 的词云生成工具。示例代码:
```python
# 加载内容
text = open(path.join(d, 'constitution.txt')).read()
# 生成词云图片
wordcloud = WordCloud().generate(text)
# 展示生成的图片
image = wordcloud.to_image()
image.show()
```
Included in:
Vol.46
Comments
Rating:
No comments yet