Description Usage Arguments Value
Detect the word sentiments of a text and replace the with the matching emojis.
1 | textsentiment_to_emoji(text, sentiment_dataframe = NULL)
|
text |
string: A text string containing english words |
sentiment_dataframe |
data frame: A dataframe which contains word and key column which shows the sentiment of each word. Only supports the Happy, Sad, Suprise, Fear and Angry as keys. If no dataframe is given the results of sentiment_df function would be used |
string: A string containing only emoji's with no words. The emojis are written in the CLDR short name format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.