Skip to main content

词云生成器——wordcloud 中文版

介绍

草蟒词云库——wordcloud 中文版

一般配合中文分词库 '结巴' 使用

安装教程

python -m pip install -U grasspy-wordcloud

使用说明

导入 结巴
导入 词云

字符串 = '草蟒中文编程语言'
词表 = 结巴.分词列表(字符串)
文本 = ' '.连接(词表)

词云实例 = 词云.〇词云(字体路径="msyh.ttc")    # 步骤 1:配置对象参数
词云实例.产生(文本)                           # 步骤 2:加载词云文本
词云实例.转为文件("草蟒词云.png")              # 步骤 3:输出词云文件

Release files for grasspy-wordcloud 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grasspy-wordcloud 0.0.1
File Size Uploaded
grasspy-wordcloud-0.0.1.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grasspy-wordcloud 0.0.1
File Interpreter ABI Platform
grasspy_wordcloud-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.1 kB

Release files / grasspy-wordcloud-0.0.1.tar.gz

Download URL grasspy-wordcloud-0.0.1.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
177051086a60cfc3f984aa6c12546a5f9fe68fd0d3f31d6595fbfe01e20e5acc
BLAKE2b-256 checksum
How to use checksums
c5ca6d4eb503f4301f33146d27dd870b5e0a1be5fd6517749b953472e1d579c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1+

Release files / grasspy_wordcloud-0.0.1-py3-none-any.whl

Download URL grasspy_wordcloud-0.0.1-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a143314deab212859ae91aefbb269424371807830adbf102681cd18d554a6e2
BLAKE2b-256 checksum
How to use checksums
413cfb647dfbe8c5ee1ebffc6e7afbe4028ec548d11b2444045f5583c8ae8597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1+

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page