R-Ladies Freiburg, Sentiment Analysis with R (English)
Channel: R-Ladies Global
Date: 2020-10-13

R-Ladies Freiburg (@RLadiesFreiburg) meetup on October 8th, 2020: Sentiment Analysis with Kyla McConnell (@McConnellKyla) and Julia Müller (@JuliaMuellerFr)

Can we distinguish Shakespeare's comedies from his tragedies by looking at their sentiment scores? How can we trace sentiment through chapters of a book, or lines of a play? What are frequent positive and negative words in reviews of this year's hit game Animal Crossing? Which emotions are expressed in Beyoncé's and Taylor Swift's song lyrics?

In this workshop, we use tidytext and sentimentr to answer these questions and more using R. Further, we show how to visualize commonly used positive and negative words in comparison (word) clouds and compare approaches that only look at single words to those that take into account phrases like "not good" or "barely enjoyable". The meetup starts with a quick review of basic text processing steps such as tokenizing and removing stop words, so no previous experience is necessary!

To follow along and for some exercises to check your understanding, download the Rmd file here: https://github.com/rladies/meetup-presentations_freiburg/blob/master/2020-09-Sentiment_Analysis

We also recommend the book “Text Mining with R” by Julia Silge and David Robinson, which influenced this meetup greatly: https://www.tidytextmining.com

Follow us on Twitter to stay up to date, or register for our upcoming online meetups (always free!) here: https://www.meetup.com/rladies-freiburg

Please excuse the cuts based on internet connectivity problems, as this was a live event.