It is a tool to analyze sentiments from english text. This tool is efficient in calculating the sentiments and accuracy and precision is very good.
- Python 3.x.x, if you don't have python install it from it's website https://www.python.org/downloads/.
- Install git if you don't have it already.
- If you don't have pip in your python copy this code https://bootstrap.pypa.io/get-pip.py and run into your system.
There are some packages to install in order to run this tool.
- clone the repository by command prompt
$ git clone https://github.com/dhaval-khatri1996/sentiment-analysis-using-python.git
- install nltk using the command which works with your PC
$ pip install nltk
or
$ python -m pip install nltk
- Install nltk data
$ python
$ nltk.download()
This will open a GUI, go to ALL packages and select 'averaged_perceptron','punkt', 'universal_tagset' and download.
- Install openpyxl
$ pip install openpyxl
Go to directory of main.py and run the file. That's all, Enjoy the tool.