metalcorebear / NRCLex

An affect generator based on TextBlob and the NRC affect lexicon. Note that lexicon license is for research purposes only.
MIT License
65 stars 39 forks source link

what about a negative particles before the word #4

Open Taram1980 opened 3 years ago

Taram1980 commented 3 years ago

text_object = NRCLex('not happy') text_object.raw_emotion_scores {'anticipation': 1, 'joy': 1, 'positive': 1, 'trust': 1}

What to do in this case? Thanks

metalcorebear commented 2 years ago

Unfortunately, in its current state, the library won't be able to resolve negations before words.