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

Peer review:

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

On CRAN:

12.84 score 335 stars 30 packages 1.2k scripts 13k downloads 4 mentions 16 exports 28 dependencies

Last updated 1 years agofrom:73ec7d852e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

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 Nov 08 2024.

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