Package: syuzhet 1.0.7

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.

Authors:Matthew Jockers [aut, cre]

syuzhet_1.0.7.tar.gz
syuzhet_1.0.7.zip(r-4.7)syuzhet_1.0.7.zip(r-4.6)syuzhet_1.0.7.zip(r-4.5)
syuzhet_1.0.7.tgz(r-4.6-any)syuzhet_1.0.7.tgz(r-4.5-any)
syuzhet_1.0.7.tar.gz(r-4.7-any)syuzhet_1.0.7.tar.gz(r-4.6-any)
syuzhet_1.0.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
syuzhet/json (API)

# Install 'syuzhet' in R:
install.packages('syuzhet', repos = c('https://mjockers.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mjockers/syuzhet/issues

On CRAN:

Conda:

13.10 score 348 stars 37 packages 1.5k scripts 15k downloads 4 mentions 16 exports 27 dependencies

Last updated from:73ec7d852e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK163
source / vignettesOK299
linux-release-x86_64OK160
macos-release-arm64OK167
macos-oldrel-arm64OK197
windows-develOK116
windows-releaseOK113
windows-oldrelOK110
wasm-releaseOK141

Exports:get_dct_transformget_nrc_sentimentget_nrc_valuesget_percentage_valuesget_sent_valuesget_sentencesget_sentimentget_sentiment_dictionaryget_stanford_sentimentget_text_as_stringget_tokensget_transformed_valuesmixed_messagesrescalerescale_x_2simple_plot

Dependencies:clicpp11data.tabledplyrdttgenericsgluelatticelifecyclemagrittrNLPpillarpkgconfigpurrrR6rlangslamstringistringrtextshapetibbletidyrtidyselectutf8vctrswithrzoo

Introduction to the Syuzhet Package

Rendered fromsyuzhet-vignette.Rmdusingknitr::rmarkdownon May 10 2026.

Last update: 2020-11-24
Started: 2015-01-28