pestrstr / 421bot

CS421 NLP Chatbot for Sentiment and Stylistic Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Before running the Chatbot

Download w2v.zip archive from:
https://docs.google.com/uc?export=download&id=1Ek8o6vC7X-B5PPxFtvjSltHCniP8li4m
and put it on your local repo folder. Then extract w2v.zip content on the same directory. w2v.pkl file contains pre-trained word2vec embeddings.

Installing requirements

Optionally, you can setup a python virtual enviroment before installing dependencies:

python -m pip install --user virtualenv
python -m venv venv
source venv/bin/activate

You can install all the needed dependencies just by running

pip install -r requirements.txt

Then, download required modules for nltk by running

python install.py

Running the Chatbot

Run the chatbot by running the script chatbot.py

python chatbot.py

About

CS421 NLP Chatbot for Sentiment and Stylistic Analysis

License:MIT License


Languages

Language:Python 100.0%