In the previous recipe, we studied a quick and easy way to generate a word cloud. In this recipe, we will learn how to create a word cloud using an entire document, such as a transcript of the complete inaugural speech by President Obama. We will also learn how to process the text and structure it using the text mining package.
To generate a word cloud and structure our data, we will use the following packages:
We will start this recipe by installing and loading the required packages in R using the