WORDCLOUD_CLI(1)
π WORDCLOUD_CLI β bestie edition π
okay so. <rainbow>wordcloud_cli</rainbow> β it's a little word cloud generator in Python. that's it, that's the whole vibe. it makes pretty clouds out of words. and honestly? iconic. β¨
πΈ NAME πΈ
wordcloud_cli β a little word cloud generator in Python π«Ά
π¦ DESCRIPTION π¦
here's how you call it, bestie. look at the shape of it first, then we'll go one by one:
wordcloud_cli [-h] [--text file] [--regexp regexp] [--stopwords file]
[--imagefile file] [--fontfile path] [--mask file]
[--colormask file] [--contour_width width] [--contour_color color]
[--relative_scaling rs] [--margin width] [--width width]
[--height height] [--color color] [--background color]
[--no_collocations] [--include_numbers]
[--min_word_length min_word_length] [--prefer_horizontal ratio]
[--scale scale] [--colormap map] [--mode mode] [--max_words N]
[--min_font_size size] [--max_font_size size] [--font_step step]
[--random_state seed] [--no_normalize_plurals] [--repeat]
[--version]
it's a simple command line interface for the wordcloud module. no cap. that's the whole thing. π
β¨ optional arguments β¨
one bullet per flag, no skips, no gatekeeping. we're listing every single one:
-h,--helpβ shows this help message and then dips. bye! π--text fileβ name the file of words you wanna build the word cloud out of (default:stdin, so if you don't say anything it just reads what you pipe in π«Ά)--regexp regexpβ overrides the regular expression that decides what counts as a word. you're the boss of "what is a word" now π--stopwords fileβ name a file of stopwords (one word per line, fr) and those get removed from the given text after parsing. get that "the" and "and" OUT π--imagefile fileβ the file your finished PNG image gets written to (default:stdout) π--fontfile pathβ path to the font file you wanna use (default:DroidSansMono) β pick your font, make it cute π¦--mask fileβ the mask to use for the image form. it shapes your cloud, main character energy π--colormask fileβ the color mask to use for image coloring π¨--contour_width widthβ if this is greater than0, it draws the mask contour (default:0) βοΈ--contour_color colorβ uses the given color as the mask contour color β it accepts any value fromPIL.ImageColor.getcolorπ--relative_scaling rsβ scaling of words by frequency, in the range0-1π--margin widthβ the spacing to leave around words. personal space matters π«§--width widthβ defines the output image width π--height heightβ defines the output image height π--color colorβ uses the given color as the coloring for the image β accepts any value fromPIL.ImageColor.getcolorπΈ--background colorβ uses the given color as the background color for the image β accepts any value fromPIL.ImageColor.getcolorπΌοΈ--no_collocationsβ does NOT add collocations (bigrams) to the word cloud (default behaviour: add both unigrams and bigrams) π«--include_numbersβ include numbers in the wordcloud? yes? no? you decide π’--min_word_length min_word_lengthβ only include words with more than X letters. short words, you're out π--prefer_horizontal ratioβ the ratio of times to try horizontal fitting as opposed to vertical βοΈ--scale scaleβ scaling between computation and drawing π--colormap mapβ a matplotlib colormap name π--mode modeβ useRGBorRGBAfor a transparent background β¨--max_words Nβ maximum number of words π--min_font_size sizeβ the smallest font size to use π--max_font_size sizeβ the maximum font size for the largest word π--font_step stepβ the step size for the font π£--random_state seedβ random seed π²--no_normalize_pluralsβ whether to remove trailing's'from words βοΈ--repeatβ whether to repeat words and phrases π--versionβ shows the program's version number and then exits. peep the version, slay π
β οΈ heads up bestie: the option values above like0-1for--relative_scaling rs,0for--contour_width width, and the defaultsstdin,stdout,DroidSansMonoare exactly as written. don't get creative with them, okay? copy the vibes, not new numbers π«Ά
π AUTHOR π
this manpage was written by Nilesh Patra for the Debian distribution, and it can be used for any other usage of the program. king behaviour, fr fr π«‘
and that's the whole page, bestie!! you ate this. go make a word cloud. the version is wordcloud_cli 1.8.1 and this page is dated November 2020 β periodt. π
β¨
π¦ where this page comes from
- debian bookworm: python3-wordcloud 1.8.2.2+dfsg-1+b1 Β· MIT
- debian trixie: python3-wordcloud 1.9.3+dfsg-2+b2 Β· MIT
- ubuntu jammy: python3-wordcloud 1.8.1+dfsg-3build1 Β· MIT
- ubuntu noble: python3-wordcloud 1.9.3+dfsg-1build1 Β· MIT
- ubuntu questing: python3-wordcloud 1.9.3+dfsg-2build2
- ubuntu resolute: python3-wordcloud 1.9.4+dfsg-1build1 Β· MIT
- ubuntu stonking: python3-wordcloud 1.9.4+dfsg-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms