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

affect_frequencies 'anticip' instead of 'anticipation' #13

Closed jokoro closed 2 years ago

jokoro commented 2 years ago

affect_frequencies has 'anticip' key with value that is always zero because only 'anticipation' is used in lexicon. Suggesting changing 'anticip' to 'anticipation' in the affect_percent variable in the build_word_affect() function in nrclex.py.

metalcorebear commented 2 years ago

This issue has been fixed.