An open API service indexing awesome lists of open source software.

https://github.com/psibi/senti

A sentiment analyzer using AFINN
https://github.com/psibi/senti

Last synced: 8 months ago
JSON representation

A sentiment analyzer using AFINN

Awesome Lists containing this project

README

          

Senti
---------

Senti is a Sentiment Analyzer based on AFINN.

Usage:
------

An example of how to get the sentiment strength based on input text.

from senti_analysis import *

sample_sentence = "I like her."
print("%6.2f %s" % (sentiment(sample_sentence),sample_sentence))

If it prints a positive value, then it is a positive statement else a negative one.
If it prints zero value, it can be considered as Neutral.