Sentiment Analysis

In this section we either use Afinn or Transformers

Afinn or Transformers?!

Afinn is the simplest yet popular lexicons tool used for sentiment analysis. It contains 3300+ words with a polarity score associated with each word. In python, there is an in-built function for this lexicon. Although small and fast, this package cannot accurately decide the emotions in a bit complicated sentences.
On the other hand,Transformers🤗 models are bigger, but more reliable. They're basically neurons which had to learn the language and decide whether a text is relaying positive or negative feelings or some emotion in between.

Using Transformers🤗 only works in the local version! If you want to try it, download and use the code from GitHub!