This is an implementation of a recurrent neural network in Theano. The code is in large part inspired by an implementation by Danny Britz (https://github.com/dennybritz/rnn-tutorial-rnnlm).
Note that nltk punkt is a requirement for running the data parsing code.
To get nltk punkt:
- Start the Python interpreter
- import nltk
- nltk.donwload('punkt')
If you run into the following error message at step 3:
[nltk_data] Error loading punkt: <urlopen error [SSL: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed [nltk_data] (_ssl.c:749)> False
You may find this workaround useful:
(https://stackoverflow.com/questions/41348621/ssl-error-downloading-nltk-data)
- Run the following command: bash /Applications/Python 3.6/Install Certificates.command