Learn how to perform Exploratory Data Analysis for Natural Language Processing using WordCloud in python.

What is WordCloud ?

This tool will be quite handy for exploring text data and making your report more lively. Many time we have seen a cloud filled with lots of words in different sizes,which represent the frequency or the importance of each word. This is called **Tag Cloud **or WordCloud.

  1. How to create a basic wordcloud from one to several text documents
  2. Adjust color,size and number of text inside your wordcloud
  3. Mask your wordcloud into any shape of your choice
  4. Mask your wordcloud into any color pattern of your choice

Prerequisites

Need to install some packages:

  1. numpy
  2. pandas
  3. matplotlib
  4. pillow
  5. wordcloud

The numpy libraries is one of the most popular and helpful libraries that is used for handling multi-dimensional arrays and matrices. it is also used in combination with pandas library to perform data analysis.

matplotlib is a basic library that enables many other libraries to run and plot on its base including seaborn or wordcloud.

The **pillow **library is a package that enables image reading, Pillow is wrapper for PIL- python imaging library.you will need this library to read in image as the mask for the wordcloud.

If you only need it for plotting a basic wordcloud, then pip install wordcloud

or** conda install -c conda-forge wordcloud**

#nlp #data-science #text-mining #word-cloud

Generating WordClouds in Python
1.15 GEEK