Extracts sentiment and sentiment-derived plot arcs from text using three sentiment dictionaries conveniently packaged for consumption by R users. Implemented dictionaries include "syuzhet" (default) developed in the Nebraska Literary Lab "afinn" developed by Finn {\AA}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.

Documentation

Manual: syuzhet.pdf
Vignette: Introduction to the Syuzhet Package

Maintainer: Matthew Jockers <mjockers at gmail.com>

Author(s): Matthew Jockers*

Install package and any missing dependencies by running this line in your R console:

install.packages("syuzhet")

Depends
Imports openNLP, NLP, zoo, dtt, stats, graphics
Suggests knitr, pander, testthat(>=0.9.1)
Enhances
Linking to
Reverse
depends
Reverse
imports
lexicon, sentimentr
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package syuzhet
Materials
URL https://github.com/mjockers/syuzhet
Task Views
Version 1.0.1
Published 2017-03-06
License GPL-3
BugReports
SystemRequirements
NeedsCompilation no
Citation
CRAN checks syuzhet check results
Package source syuzhet_1.0.1.tar.gz