fnielsen / afinn

AFINN sentiment analysis in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Character Limit

Arthavruksha opened this issue · comments

I've this huge string with tons of sentences and it returns "Neutral" for all of them, I assume it has some character limit, what is it? so that i can break my full string into smaller sentences to parse into Affin and get accurate score?

There is no character limit. If the sentence does not contain any of the words in the sentiment lexicon you will get zero. Also if the score of your words balance out you might get zero.