The advantages of lexicon-based sentiment analysis in an age of machine learning.

PLoS One

Department of Political Science, Middlebury College, Middlebury, Vermont, United States of America.

Published: January 2025

Assessing whether texts are positive or negative-sentiment analysis-has wide-ranging applications across many disciplines. Automated approaches make it possible to code near unlimited quantities of texts rapidly, replicably, and with high accuracy. Compared to machine learning and large language model (LLM) approaches, lexicon-based methods may sacrifice some in performance, but in exchange they provide generalizability and domain independence, while crucially offering the possibility of identifying gradations in sentiment. We demonstrate the strong performance of lexica using MultiLexScaled, an approach which averages valences across a number of widely-used general-purpose lexica. We validate it against benchmark datasets from a range of different domains, comparing performance against machine learning and LLM alternatives. In addition, we illustrate the value of identifying fine-grained sentiment levels by showing, in an analysis of pre- and post-9/11 British press coverage of Muslims, that binarized valence metrics give rise to different (and erroneous) conclusions about the nature of the post-9/11 shock as well as about differences between broadsheet and tabloid coverage. The code to apply MultiLexScaled is available online.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11723603PMC
http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0313092PLOS

Publication Analysis

Top Keywords

machine learning
12
advantages lexicon-based
4
lexicon-based sentiment
4
sentiment analysis
4
analysis age
4
age machine
4
learning assessing
4
assessing texts
4
texts positive
4
positive negative-sentiment
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!