Extend VADER Sentiment Lexicon with individual words

5 次查看(过去 30 天)
Hello,
im using the VADER algorithm to perferform sentiment analysis. However, i have some domain specific words that i want to add to the lexicon with their respective sentiment score. I found the function:
compoundScores = vaderSentimentScores(token, 'SentimentLexicon', lexica)
but it overrides the entire Lexicon instead of adding the words. Is there a way to extend the lexicon?
Regards,
Simon

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling and Prediction 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by