Assigns sentiment values to words based on preloaded dictionary. The default is the syuzhet dictionary.
get_sent_values(char_v, method = "syuzhet", lexicon = NULL)
A string
A string indicating which sentiment dictionary to use
A data frame with with at least two columns named word and value. Works with "nrc" or "custom" method. If using custom method, you must load a custom lexicon as a data frame with aforementioend columns.
A single numerical value (positive or negative) based on the assessed sentiment in the string