Generate word cloud image from text using Python wordcloud package without any manual installation using docker.
To generate word cloud image from text file README.md
use the following command from the directory of the file.
docker run --rm -v "$PWD:/work" -w /work dharmeshkakadia/wordcloud wordcloud_cli --text README.md --imagefile wordcloud.png
This will generate output like following and save it as wordcloud.png
in the current directory.
For more options on controlling word cloud output, please see the package documentation