Skip to main content

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


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)

Uploaded Source

Built Distribution

grasspy_wordcloud-0.0.1-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page