Skip to content

About

use CNN to solve problem of Chinese Sentence classification

Resources

Stars

9 stars

Watchers

0 watching

Forks

Repository files navigation

CNN-for-sentence-classification

use CNN to solve problem of Chinese Sentence classification

If you wanna execute my scripts, make sure you can import numpy,word2vec,tensorflow,etc.

And you alse need to edit the file path in my code to your own text, or you can use my data set.

#useage: 1.in Ipython shell,use exec() commend run "separateWord_for_hotel.py"

2.run "compare2Embedding_for_hotel.py"

3.run "bulidWordVocabulary_for_hotel.py"

4.run "shuffleData_for_hotel.py"

5.in Ipython notebook run "non-static_CNN_for_hotel.ipynb"

About

use CNN to solve problem of Chinese Sentence classification

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages