Semanaly Save

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

Project README

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

Open Source Agenda is not affiliated with "Semanaly" Project. README Source: zqhZY/semanaly
Stars
153
Open Issues
4
Last Commit
6 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating