Used itorch notebook (https://github.com/facebookarchive/iTorch)
Create funtions in Lua to
- read from a JSON file
- create word index
- create one-hot encoding
- create count vector
Used itorch notebook (https://github.com/facebookarchive/iTorch)
Create funtions in Lua to