This is a text classification problem, This model predicts the sentiment of the customer from the text to either Positive or Negative or Neutral.
Dataset used for this is taken from kaggle. you can get it here.
- Python
- matplotlib
- pandas
- sklearn
- Flask
- NLTK
All dependencies can be installed using pip
- Download or clone the repository using $ git clone https://github.com/Shareef-shaik/SentimentAnalysis.git.
- Install all the dependencies and run python app.py from terminal.
- Open http://127.0.0.1:5000/ in the browser. Provide the text and click predict to see the outcome.
- I have deployed it on Heroku with the help of flask, In case if you are interested you can check here. Sentiment Analysis
- I wrote a blog covering all the steps involved in completing this project, you can check out here for more clear understanding.