syuzhet: Extracts Sentiment and Sentiment-Derived Plot Arcs from Text

Extracts sentiment and sentiment-derived plot arcs from text using a variety of sentiment dictionaries conveniently packaged for consumption by R users. Implemented dictionaries include "syuzhet" (default) developed in the Nebraska Literary Lab "afinn" developed by Finn Årup Nielsen, "bing" developed by Minqing Hu and Bing Liu, and "nrc" developed by Mohammad, Saif M. and Turney, Peter D. Applicable references are available in and in the documentation for the "get_sentiment" function. The package also provides a hack for implementing Stanford's coreNLP sentiment parser. The package provides several methods for plot arc normalization.

Version: 1.0.7
Depends: R (≥ 3.5.0)
Imports: textshape (≥ 1.3.0), NLP, zoo, dtt, stats, graphics, dplyr, tidyr, rlang
Suggests: devtools, knitr, pander, parallel, readxl, rmarkdown, stringr, testthat (≥ 0.9.1)
Published: 2023-08-11
DOI: 10.32614/CRAN.package.syuzhet
Author: Matthew Jockers [aut, cre]
Maintainer: Matthew Jockers <mjockers at>
License: GPL-3
NeedsCompilation: no
Citation: syuzhet citation info
Materials: README
CRAN checks: syuzhet results


Reference manual: syuzhet.pdf
Vignettes: Introduction to the Syuzhet Package


Package source: syuzhet_1.0.7.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): syuzhet_1.0.7.tgz, r-oldrel (arm64): syuzhet_1.0.7.tgz, r-release (x86_64): syuzhet_1.0.7.tgz, r-oldrel (x86_64): syuzhet_1.0.7.tgz
Old sources: syuzhet archive

Reverse dependencies:

Reverse depends: TextMiningGUI
Reverse imports: disclosuR, lexicon, sentimentr, tsentiment, VOSONDash, zoomGroupStats


Please use the canonical form to link to this page.