Fixed error with loading text

Put input for conversion to nltk.Text. in the right format. Cleaned up
code and added comments to make more readable
Revert "Fixed error with loading text"

This reverts commit caba67cc6c8af2dafb77e6404f0019061d17010c.
Added ipynb checkpoints to gitignore
Fixed error with loading text

Made sure input to nltk.Text was in the right format. Cleaned up code
and added comments