适用于 NoneBot2 的词云插件
Project description
NoneBot Plugin WordCloud
✨ NoneBot 词云插件 ✨
使用方式
插件依赖 nonebot-plugin-chatrecorder 提供消息存储。
待插件启动完成后,发送 /今日词云
、/昨日词云
或 /历史词云
即可获取词云。
配置项
配置方式:直接在 NoneBot
全局配置文件中添加以下配置项即可。
wordcloud_width
- 类型:
int
- 默认:
1920
- 说明: 生成图片的宽度
wordcloud_height
- 类型:
int
- 默认:
1200
- 说明: 生成图片的高度
wordcloud_background_color
- 类型:
str
- 默认:
black
- 说明: 生成图片的背景颜色
wordcloud_font_path
- 类型:
str
- 默认: 自带的字体(思源黑体)
- 说明: 生成图片的字体文件位置
wordcloud_stopwords_path
- 类型:
str
- 默认: 自带的停用词表
- 说明: 生成图片的停用词表位置
wordcloud_userdict_path
- 类型:
str
- 默认:
None
- 说明: 结巴分词的 自定义词典 位置
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
Built Distribution
Close
Hashes for nonebot-plugin-wordcloud-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a757e5cebd9a3fc3fba2b934b3f7cfb8c82fc16ec6dbf2163239bee587b9412 |
|
MD5 | f30ddc9786da4c7706de971916c0e789 |
|
BLAKE2b-256 | 3ab9c2a10d964150d30307173c72f94d583c7613f77b10f50b9971b093dc5363 |
Close
Hashes for nonebot_plugin_wordcloud-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501922882bc3a97b52b3fd3c44253f9f5355d4e7730bbb14216b72c7fbf94929 |
|
MD5 | b9222190f812e44fcc882c6b9e9f23f3 |
|
BLAKE2b-256 | 5cae9767e834ce6d7fff16de61794db2420775d153a7c5afd92e4e2e1b67e190 |