A web application for building Word Cloud from news artciles using Python and Flask.
A web application for building Word Cloud from news artciles using Python and Flask.
Word clouds are a popular way to visualise large amounts of text. Word clouds are images showing scattered words in different sizes, where words that appear more frequently in the given text are larger, and less common words are smaller or not shown at all.
The app uses web-scraping, parses RSS feeds and builds image files directly in memory to display the word cloud.
This application could be run locally using Docker like so:
$ git clone https://github.com/realnitinworks/news-word-clouds.git
This step starts the Flask web application in a docker container listening on port 5000
$ cd news-word-clouds
$ docker-compose up -d --build
While still inside the news-word-clouds, execute the following command
$ docker-compose down