Description Usage Arguments Value Examples
This function loads text and calculates number of sentences which are positive, negative, very positive, very negative, neutral and sarcasm.
1 |
text |
A vector of sentences or a sentence (English). |
A 2-D matrix with two rows and 6 columns where first row contains the name of sentiment category and the second row contains the number in each category in string format.
1 | calculate_total_presence_sentiment(c("This is good","This is bad"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.