sentiment: Analyze the sentiment of text

Description Usage Arguments Value References Examples

View source: R/sentimental.r

Description

Analyze the sentiment of text

Usage

1
sentiment(text, language = c("english", "dutch", "french"))

Arguments

text

one element character vector containing the text to analyze. . Must be <= 80,000 characters.

language

one of "english", "french", "dutch".

Value

list containing the label and probability estimates

References

http://text-processing.com/docs/sentiment.html

Examples

1
sentiment("hi friend")

hrbrmstr/sentimental documentation built on May 17, 2019, 5:13 p.m.