powered by
Ratio of words labeled as positive in that dictionary compared to the total number of words in the document. Here, it uses the entry positiveWords of the SentimentDictionaryBinary.
positiveWords
SentimentDictionaryBinary
rulePositivity(dtm, d)
Ratio of positive words compared to all
Document-term matrix
Dictionary of type SentimentDictionaryBinary