Code for SSentiA and LRSentiA
This repository contains code for SSentiA and LRSentiA (We are still adding/cleaning up code).
LRSentiA is a lexicon-based classifier used for sentiment analyis. It is capable of classifying in both binary and ternary level.
LRSentiA utilizes Opinion Lexicon (Hu and Liu, KDD-2004). https://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html. We have included the lexicon in this repository.
The following libraries are required-
-
Scikit-learn https://scikit-learn.org/stable/ (For machine learning classifier)
-
Spacy https://spacy.io. (For parsingg and POS tag assignment for LRSentiA classifier)
-
Numpy
-
Panda