2026-11-10
I will first reproduce the main Chapter 2 sentiment analysis example from Text Mining with R. The example changes the Jane Austen text into one-word-per-row format, joins the words to the Bing sentiment lexicon, and compares positive and negative word counts across sections of the novels.
I will extend the example by analyzing Moby Dick from Project Gutenberg. I will use the Bing lexicon again so I can compare the new corpus with the original example. I will also add the VADER lexicon and compare its result with Bing. I chose these two lexicons because they score words differently, which gives me a way to check how much the lexicon changes the result. I will present the comparison in tables and color-blind-friendly charts. I will also explain that a word-level method does not fully understand context, negation, or sarcasm.