Skip to main content Accessibility help
×
Hostname: page-component-5db58dd55d-688nx Total loading time: 0 Render date: 2026-05-26T00:53:57.826Z Has data issue: false hasContentIssue false

Conducting Sentiment Analysis

Published online by Cambridge University Press:  25 August 2021

Lei Lei
Affiliation:
Shanghai Jiao Tong University, China
Dilin Liu
Affiliation:
University of Alabama

Summary

This Element provides a basic introduction to sentiment analysis, aimed at helping students and professionals in corpus linguistics to understand what sentiment analysis is, how it is conducted, and where it can be applied. It begins with a definition of sentiment analysis and a discussion of the domains where sentiment analysis is conducted and used the most. Then, it introduces two main methods that are commonly used in sentiment analysis known as supervised machine-learning and unsupervised learning (or lexicon-based) methods, followed by a step-by-step explanation of how to perform sentiment analysis with R. The Element then provides two detailed examples or cases of sentiment and emotion analysis, with one using an unsupervised method and the other using a supervised learning method.
Get access

Information

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Element purchase

Temporarily unavailable

Save element to Kindle

To save this element to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Conducting Sentiment Analysis
  • Lei Lei, Shanghai Jiao Tong University, China, Dilin Liu, University of Alabama
  • Online ISBN: 9781108909679
Available formats
×

Save element to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Conducting Sentiment Analysis
  • Lei Lei, Shanghai Jiao Tong University, China, Dilin Liu, University of Alabama
  • Online ISBN: 9781108909679
Available formats
×

Save element to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Conducting Sentiment Analysis
  • Lei Lei, Shanghai Jiao Tong University, China, Dilin Liu, University of Alabama
  • Online ISBN: 9781108909679
Available formats
×