afinn-gaming

AFINN sentiment analysis for gaming


Keywords
sentiment analysis
License
Apache-2.0
Install
pip install afinn-gaming==0.1.dev0

Documentation

afinn

AFINN sentiment analysis in Python: Wordlist-based approach for sentiment analysis.

Examples

>>> from afinn import Afinn
>>> afinn = Afinn()
>>> afinn.score('This is utterly excellent!')
3.0
For Gaming:
>>> from afinn import Afinn
>>> afinn = Afinn(language='gaming')
>>> afinn.score('This is utterly excellent!')
3.0

With emoticons:

>>> afinn = Afinn(emoticons=True)
>>> afinn.score('I saw that yesterday :)')
2.0