Image of a hub, © Paul Watson, CC  BY-NC-SA 2.0 The Linguistic Teaching resources Hub
Image © Paul Watson, Licence CC BY-NC-SA 2.0

Sentiment Analysis for Exploratory Data Analysis

* Zoë Wilkinson Saldaña *

Keywords: Sentiment Analysis, Exploratory Data Analysis, python, NLTK

https://programminghistorian.org/lessons/sentiment-analysis

In this lesson you will learn to conduct ‘sentiment analysis’ on texts and to interpret the results. This is a form of exploratory data analysis based on natural language processing. You will learn to install all appropriate software and to build a reusable program that can be applied to your own texts.

This lesson uses sentiment analysis as the basis for an exploratory data analysis of a large textual corpus. It is appropriate for readers with some basic prior experience programming with Python. If you have no experience with Python or computer programming, the author recommends working through the first few lessons in the Introduction to Python series. By the end of this lesson, you will be able to:

  • Devise appropriate research questions that use Natural Language Processing (NLP) on a textual corpus.
  • Use Python and the Natural Language Processing Toolkit (NLTK) to generate sentiment scores for a text.
  • Critically evaluate the sentiment analysis scores and adjust parameters and methodology as appropriate.
  • Identify next steps to continue learning about exploratory data analysis and programmatic approaches to qualitative data.

Feedback

Sorry, there is no feedback available. Be the first one to provide feedback!

Resource details

Institution: The Programming Historian
Year of publication: 2018
Language: english
Type: Tutorial
Audience:
Level: intermediate
Prerequisites:

python NLTK

Media: text/html
Objective:
Licence: cc-by-4.0
Access: open
Creation date: Tuesday, 13 March 2018 15:20:09
Last modified: Saturday, 27 April 2024 05:07:25
BibTeX type: @misc
BibTeX entry:
@misc(TeLeMaCo:398,
author = "Salda{\~n}a, Zo{\"e} Wilkinson",
title = "{S}entiment {A}nalysis for {E}xploratory {D}ata {A}nalysis",
year = "2018",
url = "https://programminghistorian.org/lessons/sentiment-analysis"
)

Helpdesk Button