Large Movie Reviews Sentiment Analysis Using Bigrams
Click here for a video coding vignette on sentiment analysis and bigrams
In this coding vignette I perform a sentiment analysis on the large movie review dataset, which you can find here https://ai.stanford.edu/~amaas/data/sentiment/. I start by performing a simple analysis just using the afinn sentiment lexicon. Then I show how to incorporate some basic word associations, modifying the sentiment value if the sentiment word occurs after a negative word or an extreme word.
You can watch the video on youtube by clicking here
The code I wrote for this vignette can be found here: movieReviewsVignette.R
I also uploaded some additional video covering the slides that we did not cover in the meetup this week, which was on n-grams. You can watch that video by clicking here