HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

R Tutorial : Sentiment Analysis in R: The Tidy Way

1,386 views April 25, 2020 3:07

Watch on YouTube
ChannelDataCamp

Description from the creator

Want to learn more? Take the full course at learn.datacamp.com/courses/sentiment-analysis-i… at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work.

---

Hi! I'm Julia Silge, and I am excited to welcome you to this course, "Sentiment Analysis, the Tidy Way". Text data is being generated all the time in the world around us, and sentiment analysis is a way to measure the attitudes and opinions expressed in text.

In this course, you are going to approach sentiment analysis using a specific idiom and approach, and that approach is using tidy data principles. If you've used dplyr for data manipulation or ggplot2 for visualization, then you have used tidy data principles, and here you are going to apply those same tools and ways of thinking and working to text mining and sentiment analysis. We are going to talk about the sentiment lexicons that are used in sentiment analysis, and you are going to apply these ideas and knowledge to real text data from the real world in four case studies in our chapters.

Our four chapters in this course will use four datasets. First, a dataset of tweets that have been geocoded so we can see what kinds of words Twitter users in different locations use. Second, a collection of comedies and tragedies by Shakespeare. Third, a dataset of speech from cable TV news shows, and finally pop lyrics from songs over the last several decades. These case studies demonstrate how you can use these powerful techniques with diverse kinds of text, and will allow you to practice your data handling skills and learn about the ways sentiment analysis can be applied. You'll see how you can get to real insights from raw text data.

We're going to start by exploring some sentiment lexicons. These lexicons are lists of words that are scored in some way, according to the emotion or opinion content of the words. The words can be scored like this lexicon, in a binary fashion, either positive or negative...

Or they might be scored like this lexicon, with a numerical score that runs from negative to positive to indicate how negative or positive the word is.

There are three lexicons that we will explore during this course, and the last one shown here categorizes words into specific emotions, as well as positive and negative. Lexicons like these don't contain all English words, because many words are pretty neutral. The choice about which lexicon to use in analysis often depends on what question you are trying to answer. Now it's time for you to explore the lexicons yourself, to get you started on the path of sentiment analysis using tidy data principles.

#DataCamp #RTutorial #SentimentAnalysisinR

About this tutorial

DataCamp published this 3:07 video tutorial on April 25, 2020. It has been watched 1,386 times on YouTube.

Channel
DataCamp
Duration
3:07
Published
April 25, 2020
Views
1,386
Likes
10

Tags

Share

Further reading

  • R Course: Sentiment Analysis in R - The Tidy Way - DataCamp datacamp.com

    Hello, R users! This week we're continuing to bridge the gap between computers and human language with the launch Sentiment Analysis in R: The Tidy Way by Julia Silge!. Text datasets are diverse and ubiquitous, and sent…

  • Tidy Sentiment Analysis in R - DataCamp datacamp.com

    Part Two: Sentiment Analysis and Topic Modeling with NLP ; Part Three: Predictive Analytics using Machine Learning ; If you would like to learn more about sentiment analysis, be sure to take a look at our Sentiment Anal…

  • New R Course: Sentiment Analysis in R – The Tidy Way r-bloggers.com

    Hello, R users! This week we’re continuing to bridge the gap between computers and human language with the launch Sentiment Analysis in R: The Tidy Way by Julia Silge! Text datasets are diverse and ubiquitous, and senti…

This tutorial in other languages