Description Usage Arguments Value
Generates a sentiment analysis summary dataframe of the input text. The summary dataframe would include the sentiment type, sentiment words, number of sentiment words, and highest sentiment percentage.
1 | sentiment_df(text, sentiment_input = "all")
|
text |
string: the input text for sentiment analysis |
sentiment_input |
string (optional): the sentiment that the analysis focuses on, could be happy, angry, or sad etc. Defaults to "all". |
dataframe: a data frame that contains the summary of sentiment analysis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.