This repo is a simple keras implementation of Convolutional Neural Networks for Sentence Classification, also you can watch more details in A Sensitivity Analysis of (and Practitioners' Guide to) Convolutional Neural Networks for Sentence Classification).
To run the jupyter notebook, you need to install the following packages firstly.
- gensim
- numpy
- keras
- sklearn
1.Download the pre-train word2vec here, and decompression the file to the root dir(./TextCNN-keras).
2.Just open the jupyter notebook and run the cells in TextCNN-keras.ipynb.