lichuang52001 / wordcloud

generate wordcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[toc]

Toolbox: 英文词云

  1. 基于 Matlab 制作词云:Matlab wordcloud 【免费】
  2. MonkyLearn 【免费,形状单一】
  3. Word Art 【高级功能需付费,可自定义形状】

Toolbox: 中文词云

  1. 词云文字【高级功能需付费,可自定义形状】

基于 Python 的词云生成方法

Customized Code #1

WordCloud.py

  • Packages: jieba, numpy, PIL, matplotlib, wordcloud
  • font file: FZZKFW.TTF, 方正中楷

Input files

  • text: ciyun.txt
  • background: airplane.png or Hanzi.png

Output file

  • figure: wordcloud.eps

Customized Code #2

ciyun.py

注释在 code 中。

参考资料

  1. 基于 Python 的英文词云生成方法

  2. 基于 Python 的中文词云生成方法

  3. Python 中文词云制作(最全最详细的教程)

About

generate wordcloud

License:MIT License


Languages

Language:Python 100.0%