syuzhet: Extracts Sentiment and Sentiment-Derived Plot Arcs from Text (original) (raw)

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 README.md 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
License: GPL-3
URL: https://github.com/mjockers/syuzhet
NeedsCompilation: no
Citation: syuzhet citation info
Materials: README
CRAN checks: syuzhet results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=syuzhetto link to this page.