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 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.

Package details

AuthorMatthew Jockers [aut, cre]
MaintainerMatthew Jockers <mjockers@gmail.com>
LicenseGPL-3
Version1.0.7
URL https://github.com/mjockers/syuzhet
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("syuzhet")

Try the syuzhet package in your browser

Any scripts or data that you put into this service are public.

syuzhet documentation built on Aug. 12, 2023, 1:05 a.m.