Link Search Menu Expand Document

Introduction to Sentiment Analysis

Sentiment Analysis is a type of text mining that is used to measure the attitudes, emotion or sentiments in a text. It can be used for a wide range of research topics such as assessing public perceptions of an event, monitoring emotion on social media, and analysing customer reviews and attitudes.

In this workshop we’ll look at Sentiment Analysis across disciplines, discuss strengths and limitations, and introduce common tools and procedures. Then we’ll look at an example using Python’s NLTK (Natural Language Toolkit) with a model called VADER (Valence Aware Dictionary for Sentiment Reasoning).

Finally, we’ll do a hands-on activity to calculate sentiment for a paragraph of text using the programming language Python, Anaconda (an open source tool for organizing and setting up your Python environment), and NLTK.

Learning objectives

By the end of this workshop participants will be able to:

  1. describe what sentiment analysis is, including its strengths and limitations
  2. locate and use appropriate software and tools
  3. develop code for a sample text that can be modifed and reapplied to other texts

Schedule

0:00 Welcome and using Zoom
0:05 Orientation
0:10 What is Sentiment Analysis?
0:40 Setting up your system with Python & Anaconda
1:00 Activity: Running a script and reading results
1:25 Discussion and Wrap-up

Resources