Skip to content

Chatbot project work with DNN sentence classification and sequence-to-sequence RNN translation

Notifications You must be signed in to change notification settings

MasaSip/AIG-chatbot

Repository files navigation

AIG2018

Repo for the AIG course project

Requirements

Installation

checkout git repository:

git clone ...
cd AIG2018

Choose to install requirements either with pip or conda

Create virtual environment with pip

virtualenv --python=<path-to-python-3.6> env

activate virtual environment

source env/bin/activate

install requirements

pip install -r requirements.txt

Prepare nltk

>>> import nltk
>>> nltk.download('punkt')

You may need to install Pytorch manually

Create virtual environment with conda

conda create -n env python=3.6
source activate env

Install requirements using

conda install <package-name>

For prompt_toolkit 2.0 use

conda install pip
pip install -e git+https://github.com/jonathanslenders/[email protected]#egg=prompt_toolkit

Prepare nltk

>>> import nltk
>>> nltk.download('punkt')

You may need to install Pytorch manually

Install chromedriver

With Linux

sudo apt-get install chromium-chromedriver

With Mac

brew install chromedriver

Running the app

python app.py

Virtualenv

When you are done, deactivate virtual environment

deactivate

Chat commands

debug
stop debug
please translate
Translate
please search
Search 
stop searching
stop translating
bye
goodbye
exit

About

Chatbot project work with DNN sentence classification and sequence-to-sequence RNN translation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages