Skip to content
forked from zqhZY/semanaly

semantic analysis using word2vector, doc2vector,lstm and other method. mainly for text similarity analysis.

Notifications You must be signed in to change notification settings

softsweets/semanaly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

semanaly

semantic analysis using word2vector, doc2vector and other method. mainly for text similarity analysis. related link here

useage

word2vector

data prepare

unzip dataset/me_train.zip
python read_data.py (in word2vector dir)

train for w2v and d2v

mkdir model
python word2vector.py (in word2vector dir)
python doc2vector.py (in word2vector dir)

test for text similarity use word2vector

python sample.py
python shottext.py

lstm

cd lstm
python lstm.py
python shottext_lstm.py

textclassfier

  • demo text classfier using word2vector、cnn、lstm implemented by pytorch.
  • kfold implemented for train

tools

tools for data preprocess

About

semantic analysis using word2vector, doc2vector,lstm and other method. mainly for text similarity analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%