semantic analysis using word2vector, doc2vector and other method. mainly for text similarity analysis. related link here
unzip dataset/me_train.zip
python read_data.py (in word2vector dir)
mkdir model
python word2vector.py (in word2vector dir)
python doc2vector.py (in word2vector dir)
python sample.py
python shottext.py
cd lstm
python lstm.py
python shottext_lstm.py
- demo text classfier using word2vector、cnn、lstm implemented by pytorch.
- kfold implemented for train
tools for data preprocess