Requirement
Python 2.0
nltk package
re package
Training data
./data/
1. positive: Lexicon of positive words
2. negative: Lexicon of negative words
3. high: Lexicon of high words
4. moderate: Lexicon of moderate words
5. low: Lexicon of low words
Feel free to add words per requirement.
How to run?
The main running function getSentimentAnalysis
is in SentimentAnalysis file which take two argument first sentence and second path of training file.