Skip to content

jerryli1981/CNN_Sentence_Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CNN_Sentence_Classification

This is a decent implemenation of the paper "Convolutional Neural Networks for Sentence Classification"(EMNLP2014)

Original implementation is here: https://github.com/yoonkim/CNN_sentence.git

To make the code concise and easy understand. I use Lasagne, which is a deep learning framework based on Theano.

---Usage---

  1. Follow the command in https://github.com/stanfordnlp/treelstm.git to get Stanford Parser, Stanford POS Tagger.
  2. Before run preprocess.py, you should set your own glove path and stanford parser lib path in this script.
  3. python preprocess.py
  4. ./run.sh

Btw, it is very easy to run the code on GPU, just follow the instructions in Theano website.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published