Chinsese version of wordcloud for grasspy
Project description
词云生成器——wordcloud 中文版
介绍
草蟒词云库——wordcloud 中文版
一般配合中文分词库 '结巴' 使用
安装教程
python -m pip install -U grasspy-wordcloud
使用说明
导入 结巴
导入 词云
字符串 = '草蟒中文编程语言'
词表 = 结巴.分词列表(字符串)
文本 = ' '.连接(词表)
词云实例 = 词云.〇词云(字体路径="msyh.ttc") # 步骤 1:配置对象参数
词云实例.产生(文本) # 步骤 2:加载词云文本
词云实例.转为文件("草蟒词云.png") # 步骤 3:输出词云文件
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
grasspy-wordcloud-0.0.1.tar.gz
(13.9 kB
view hashes)
Built Distribution
Close
Hashes for grasspy_wordcloud-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a143314deab212859ae91aefbb269424371807830adbf102681cd18d554a6e2 |
|
MD5 | 61e18f7a594dd87e4e80a0b426798477 |
|
BLAKE2b-256 | 413cfb647dfbe8c5ee1ebffc6e7afbe4028ec548d11b2444045f5583c8ae8597 |