Description Usage Arguments Value Note
This function creates an NRC emotion dataframe from a text corpus.
1 | wordSentData(corp, word_len = c(3, 26))
|
corp |
tm package document |
word_len |
Numeric vector. Min and max length of words to include. Default is |
An NRC sentiment dataframe.
Uses the syuzhet package implementation of Saif Mohammad’s NRC emotion lexicon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.