Source: NeuralNine
To download the corpora used by nltk, run the Python interpreter and type the commands:
import nltk
nltk.download()
Choose which corpora and where to save them on your system, for more information visit NLTK :: Installing NLTK Data
python training.py
python chatbot.py