Exemplar program for creating wordcloud.To understand better, refer to this video.
An image composed of words used in a particular text or subject, in which the size of each word indicates its frequency or importance.
Install wordcloud using a simple pip command.
pip install wordcloud
wikipedia library is used for extracting wikipedia articles on any given topic. Install it using this pip command:
pip install wikipedia
Run python script as:
python mywc.py <query>
For example:
python mywc.py india
will create wordcloud for the topic 'india' which looks like this: