A simple wrapper of "jieba" and "wordcloud" in Python 3.
|
|
7 年 前 | |
|---|---|---|
| README.md | 7 年 前 | |
| example.in | 7 年 前 | |
| wordfreq.py | 7 年 前 |
wordcloud, PIL, matplotlib, numpy, and jiebawget https://bf.mengyan1223.wang/assets/fonts/{SourceHanSans.ttc,ttc2ttf.py}
python3 ttc2ttf.py SourceHanSans.ttc
./wordfreq.py -i example.in -o example.png -p n,ne -f SourceHanSans10.ttf -t 60
And, special thanks to Lao She who authors example.in.