Extend VADER Sentiment Lexicon with individual words

9 views (last 30 days)
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

Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!