getVaderRuleBasedSentiment: Vader Rule Based Sentiment Function

Description Usage Arguments Examples

Description

The getVaderRuleBasedSentiment is a function which performs sentiment analysis using the Vader dictionary and rule based system. Vader was designed for social media sentiment analysis and deals with increase boost words ("very","most", "amazingly",...), decrease boost words ("almost", "barely", "partly",...) and negations ("not","ain't","wont",..). It also considers repeated punctuation, capitalization and sentiment emoticons.

For more information:

Hutto, C.J. & Gilbert, E.E. (2014). VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text. Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014.

Usage

1

Arguments

text

The text which should be analyze.

compound

Whether the result should be return in a compound form or distributed by sentiment class

Examples

1
2
3
4
5
6
7
8
## Not run: 

getVaderRuleBasedSentiment("Today only kinda sux! But I'll get by, lol", compound=F)

getVaderRuleBasedSentiment("The book was kind of good.", compound = T)


## End(Not run)

nrguimaraes/sentimentSetsR documentation built on May 23, 2019, 9:34 p.m.