A web application for building Word Cloud from news articles 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 users will see a page similar to the one shown below, but containing the latest news headlines from BBC news. 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:
- Clone the repo
# git clone https://github.com/realnitinworks/news-word-clouds.git
- Build and start the application
This step starts the Flask web application in a docker container listening on port 5000
# cd news-word-clouds
# docker-compose up -d --build
- Open browser at 127.0.0.1:5000 to see the word cloud
While still inside the news-word-clouds, execute the following command
# docker-compose down