I am trying to add these new words and their corresponding polarity scores from a CSV file into Vader Sentiment Lexicon
It also reflects in the vadersentiment object when it is updated:
But as soon as I try to get the polarity scores for the newly added words, it throws an error:
I am confused as to what is happening even though that the word is present in the Vader dictionary:
Does anyone know why is it happening?