From the course: Text Analytics and Predictions with Python Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Enhancing the word cloud

Enhancing the word cloud - Python Tutorial

From the course: Text Analytics and Predictions with Python Essential Training

Start my 1-month free trial

Enhancing the word cloud

- [Instructor] In the wordcloud created in the previous video, we see words like many and using, which you may not want to display as a part of your wordcloud. Similarly, you may want to reduce the clutter by showing only the top 10 words. To remove unwanted words, we add these words to the stopword list, then we rerun the wordcloud generate command with a new set of stopwords. We also reduce the number of words to be shown to 10 and we change the background color to azure to make it more pleasing. We then plot the wordcloud again. Let us run it now. As you see, the words we added to the stopword list are now not shown in the wordcloud. The top words shown have some context related to the type of courses. Also, there is less clutter in the cloud now.

Contents