Syuzhet is a package for analysing sentiment and emotional patterns in textual narratives. It is particularly useful for studying literary works, although its techniques can also be applied to other forms of extended textual material.
The package is designed to examine how emotional language changes as a narrative progresses. Rather than concentrating solely on the overall positive or negative sentiment of a document, it can produce a sequence of sentiment scores that reveals changes in emotional tone.
Researchers can use these scores to investigate narrative structure, compare works and examine patterns of emotional development. Syuzhet provides several sentiment dictionaries and transformation methods for producing smoothed representations of emotional movement across a text.
This is free and open source software.
Key Features
- Extracts sentiment values from individual sentences and passages.
- Supports sentiment analysis using the Syuzhet, Bing, AFINN and NRC lexicons.
- Provides access to the NRC Emotion Lexicon for analysing emotion categories.
- Identifies emotional associations including joy, anger, fear, sadness, trust and anticipation.
- Generates sequences of sentiment scores across longer narratives.
- Applies discrete cosine transformation to produce smoothed sentiment trajectories.
- Supports additional smoothing and transformation methods for sentiment data.
- Provides functions for plotting sentiment trajectories and emotional arcs.
- Offers functions for dividing text into sentences before sentiment analysis.
- Supports custom sentiment dictionaries for specialised textual collections.
- Provides functions for examining mixed or conflicting emotional expressions.
- Enables comparison of narrative sentiment patterns using numerical representations.
- Supports parallel processing for selected sentiment calculations.
Website: github.com/mjockers/syuzhet
Support:
Developer: Matthew L. Jockers
License: GNU General Public License v3.0
Syuzhet is written in R. Learn R with our recommended free books and free tutorials.
Related Software
| R Natural Language Processing Tools | |
|---|---|
| tidytext | Text mining using dplyr, ggplot2, and other tidy tools |
| quanteda | R package for Quantitative Analysis of Textual Data |
| text2vec | Framework with API for text analysis and natural language processing |
| wordcloud | Create attractive word clouds |
| tm | Text Mining Infrastructure in R |
| srtringi | Fast and portable character string processing in R |
| Stringr | String manipulation in R |
| UDPipe | Tokenization, Tagging, Lemmatization and Dependency Parsing |
| tokenizers | Convert natural language text into tokens |
| spacyr | R wrapper around the Python spaCy package |
| Word Vectors | Build and explore embedding models |
| syuzhet | Extraction of sentiment and sentiment-based plot arcs from text |
| textTinyR | Text processing for small or big data |
| sentimentr | Dictionary based sentiment analysis |
| textclean | Collection of tools to clean and normalize text |
| TALL | Explore, model, and visualize textual data |
| corpustools | Various tools for analyzing text corpora |
| topicmodels | Interface to LDA and CTM models |
| text | Analyzing natural language with transformers-based large language models |
| RTextTools | Automatic text classification via supervised learning |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.