Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera Project Network

Introduction to Sentiment Analysis in R with quanteda

Coursera Project Network via Coursera

Overview

In this guided project, you will learn how to import textual data stored in raw text files into R, turn these files into a corpus (a collection of textual documents), and tokenize the text all using the R software package quanteda. You will then learn how to check for words with positive or negative sentiment within the text, and how to plot the proportion of use for these words over time, while stratifying by a third variable. You will also learn how to carry out a targeted sentiment analysis by looking for words with a positive or negative sentiment that are adjacent to relevant keywords or phrases, and how to compare the results of a targeted sentiment analysis with the results of a generic analysis.

Syllabus

  • Project Overview
    • By the end of this project, you will learn how to import textual data stored in raw text files into R, turn these files into a corpus (a collection of textual documents), and tokenize the text all using the R software package quanteda. You will then learn how to check for words with positive or negative sentiment within the text, and how to plot the proportion of use for these words over time, while stratifying by a third variable. You will also learn how to carry out a targeted sentiment analysis by looking for words with a positive or negative sentiment that are adjacent to relevant keywords or phrases, and how to compare the results of a targeted sentiment analysis with the results of a generic analysis. This guided project is for beginners interested in quantitative text analysis in R. It assumes no knowledge of textual analysis and focuses on exploring textual data (US Presidential Concession Speeches). Users should have a basic understanding of the statistical programming language R.

Taught by

Nicole Baerg

Reviews

Start your review of Introduction to Sentiment Analysis in R with quanteda

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.