Skip to content

syuzhet

1.0.7Package record

Extracts Sentiment and Sentiment-Derived Plot Arcs from Text

6packages dependsuggested by 2
118.4Kdownloads / year
20.2%test coverage
13/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
13OK
Slowest check: 7.1 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.7
READMEYes · 635 wordsVignettesYes · 1 · dynamicNEWS· In the repository, left out of the releaseCitation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
Help pages
16
Examples that run
100%6 run in a plain check
Exported functions with examples
38%
Documented parameters
100%
Return-value docs
81%
Help pages citing references
13%

Downloads

118.4K
CRAN downloads in the past year
Rank #1,478 · ~324/day · ~9.9K/mo
Daily download trend is not available in this view yet.
6.4K30 days
17K90 days
118.4K1 year
Compare downloads with other packages →
Also on794 r2u4 autocran2.2K conda_forge

Repository

350Stars
74Forks
10Open issues
0Open PRs
3Releases
154Commits
12Commit identities
154 commits · Last activity 2023-08-11 · -0.3% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
77%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
3

Stars over time

2025-09-15 · 3362026-10-14 · 350
PracticesBeta

6 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/mjockers/syuzhet on 2026-10-18.

Continuous integration (1)
Travis CI (config file)
Reproducibility and dev environment (1)
data-raw/
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing syuzhet adds 26 packages (15 with compiled code, 25 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, vctrs 1.0 MB.

Depends (1)
R >= 3.5.0
Imports (9)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
6direct
20indirect
Depends 1 · Imports 5
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.2.0 (2015)
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.7Latest
    record
    2023-08-12 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.6
    record
    2020-11-24 · diff ↗ ·
    added 1 export
    mixed_messages
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.4
    record
    2017-12-14 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0.1
    record
    2017-03-06 · diff ↗ ·
    added 1 export
    get_sentiment_dictionary
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.0
    record
    2016-04-28 · diff ↗ ·
    added 8 exports
    get_dct_transform, get_nrc_values, get_sent_values, get_stanford_sentiment, get_tokens, rescale, rescale_x_2, simple_plot
Show 3 earlier eventsHide 3 earlier events
  • R
    R 3.2.0 released · 2015-04-16
  • 0.2.0
    record
    2015-02-22
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-02-22
Total releases
6 / 11 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Download size
2.9 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("syuzhet")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for syuzhet version 1.0.7 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy