Repo for the AIG course project
- Python 3.6
- Python virtualenv
checkout git repository:
git clone ...
cd AIG2018
Choose to install requirements either with pip or conda
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
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
With Linux
sudo apt-get install chromium-chromedriver
With Mac
brew install chromedriver
python app.py
When you are done, deactivate virtual environment
deactivate
debug
stop debug
please translate
Translate
please search
Search
stop searching
stop translating
bye
goodbye
exit