Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/txt2wordcloud
根据文本文件生成词云图片,支持自定义背景色。当用户提到词云、生成词云、文字云、词频可视化时使用。
Passed 23 of 25 test cases with the skill, and 4 of 25 without it.
and 21 more in the full report
19 fixed4 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
Show the Python code to run the word cloud generation function on `input_data.txt` saving to `output_data.png`.
| Checked | Without skill | With skill |
|---|---|---|
| Imports txt2wordcloud from skills.image. | Missed | Passed |
| Passes result_file='output_data.png' to txt2wordcloud. | Missed | Passed |
The instructions your model reads when the skill loads.
根据指定的文本文件生成词云图像
根据指定的文本文件内容,生成词云图片。
office/skills/image/txt2wordcloud/
from skills.image import txt2wordcloud
txt2wordcloud(
filename='./text.txt',
color='white',
result_file='wordcloud.png'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
filename | str | 是 | - | 文本文件的路径 |
color | str | 否 | "white" | 词云的背景颜色 |
result_file | str | 否 | "your_wordcloud.png" | 生成的词云图像文件名 |
None
from skills.image import txt2wordcloud
test cases passed, vs 4 / 25 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.