Description Usage Arguments Examples
Analyzes the positive and negative sentiment expressed by the input. The response contains sentiment analysis results.
1 | ros_sentiment(content, genre = NULL, language = NULL)
|
content |
either a URI or character vector of content to process |
genre |
document genre (optional) |
language |
Language: ISO 639-3 code (optional) |
1 2 3 4 5 | txt <- c("Original Ghostbuster Dan Aykroyd, who also co-wrote the 1984 Ghostbusters ",
"film, couldn<e2><80><99>t be more pleased with the new all-female Ghostbusters cast, ",
"telling The Hollywood Reporter, <e2><80><9c>The Aykroyd family is delighted by this ",
"inheritance of the Ghostbusters torch by these most magnificent women in comedy.")
ros_sentiment(paste0(txt, collapse=""))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.