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.5)syuzhet_1.0.7.zip(r-4.4)syuzhet_1.0.7.zip(r-4.3)
syuzhet_1.0.7.tgz(r-4.5-any)syuzhet_1.0.7.tgz(r-4.4-any)syuzhet_1.0.7.tgz(r-4.3-any)
syuzhet_1.0.7.tar.gz(r-4.5-noble)syuzhet_1.0.7.tar.gz(r-4.4-noble)
syuzhet_1.0.7.tgz(r-4.4-emscripten)syuzhet_1.0.7.tgz(r-4.3-emscripten)
syuzhet.pdf |syuzhet.html
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:

12.78 score 336 stars 30 packages 1.4k scripts 10k downloads 4 mentions 16 exports 28 dependencies

Last updated 2 years agofrom:73ec7d852e. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 06 2025
R-4.5-winOKFeb 06 2025
R-4.5-macOKFeb 06 2025
R-4.5-linuxOKFeb 06 2025
R-4.4-winOKFeb 06 2025
R-4.4-macOKFeb 06 2025
R-4.3-winOKFeb 06 2025
R-4.3-macOKFeb 06 2025

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

Introduction to the Syuzhet Package

Rendered fromsyuzhet-vignette.Rmdusingknitr::rmarkdownon Feb 06 2025.

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