An academic project - detects the sentiment of a tweet
python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
- Install the Sentiment140 data set from - Kaggle
- Run the command with the input CSV as file path
./data_preprocessing.py -f "path/to/file"
This creates a file called 'preprocessed_dataset.csv' that contains the preprocessed data
Naive Bayes: https://drive.google.com/file/d/156ySQ004JB_FcvL7l31iHTqYDiWKAWcu/view?usp=sharing
BERT: https://drive.google.com/file/d/1dD6fCwtPuVPzCHCsj5h4XROr8gOPK147/view?usp=share_link
The above pickle files of pre-trained models have to be downloaded and placed in models/pkl/ folder.
npm install
npm start
./server.py