Assignment 10A
Pre Coding Approach
- Initial goal is to recreate the original code according to the analysis in Chapter 2 of Text mining with R. I will outline the example using tidytext and the associated dictionaries.
- The primary example demonstrates using sentiment analysis to view whether the passages can be considered most negative or positive using a frequency count of the type of word used. The data is from chapters in classical books.
- To extend this example: I attempt to perform a similar analysis using Fredrick Douglas’ “What to the Slave is the Fourth of July?”. I feel like it is a complicated speech on a nuanced topic and thus the type of information needed to challenge this type of model. Finally i will see the difference compared to the original example.