Fetch training data from: https://www.kaggle.com/c/word2vec-nlp-tutorial/data
Fetch contractions model from: https://code.google.com/archive/p/word2vec/ or https://github.com/mmihaltz/word2vec-GoogleNews-vectors
Internally here, sentiment classification model uses Keras deep learn library which is based on tensorflow.
To use the same:
# prerequisites
Rabbitmq
Python 3.5
Flask
# clone the repository
git clone {repo address}
# install Dependent library
cd TextClassification
python3 -m pip install --user virtualenv
python3 -m virtualenv env
source env/bin/activate
pip install -r requirements.txt
# update constants for model
nano deeplearn/constants.py
./venv/bin/python ./deeplearn/att_sentiment_classifier.py
# Run Flask service
./venv/bin/python -m flask run