Data visualization

We have cleaned our corpus a bit. Still, there are a lot of words in our corpus. We can view what we have in our corpus using world cloud, or other graphs. Let's use wordcloud to visualize our corpus. In order to install the library, use the following command:

> install.packages("wordcloud")

Once the library is installed, we can get the word cloud using the following function:

> wordcloud::wordcloud(v)

The output of the preceding command should generate the word cloud, as follows:

Figure 7.1: Word cloud of the corpus
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset