get_sentiment_dictionary {syuzhet}R Documentation

Sentiment Dictionaries

Description

Get the sentiment dictionaries used in syuzhet.

Usage

get_sentiment_dictionary(dictionary = "syuzhet", language = "english")

Arguments

dictionary

A string indicating which sentiment dictionary to return. Options include "syuzhet", "bing", "afinn", and "nrc".

language

A string indicating the language to choose if using the NRC dictionary and a language other than English

Value

A data.frame

Examples

get_sentiment_dictionary()
get_sentiment_dictionary('bing')
get_sentiment_dictionary('afinn')
get_sentiment_dictionary('nrc', language = "spanish")

[Package syuzhet version 1.0.7 Index]