├── Bi_LSTM_CRF ├── README.md ├── bilstm.py ├── bilstm_tfrecord_train.py ├── compare_jieba1.png ├── compare_jieba2.png ├── load_meta_bilstm_crf.py ├── plot_accuracy_loss.py ├── preprocess_14cn.py └── tf_recoder_mid.py ├── FastText_Subword ├── README.md ├── fast_text.py └── text_helpers.py ├── README.md ├── Sentence2Vec ├── README.md ├── sentence2vec.py └── text_helpers.py ├── doc2vec.py ├── helper.py ├── imp_rnn.py ├── load_meta.py ├── temp ├── README.md ├── cbow_movie_embeddings.ckpt.index ├── cbow_movie_embeddings.ckpt.meta ├── cn_nlp │ ├── README.md │ ├── bilstm_crf_cn.ckpt.index │ ├── bilstm_crf_cn.ckpt.meta │ ├── bilstm_crf_cn.pkl │ ├── checkpoint │ └── model_log.txt ├── movie_vocab.pkl ├── movie_vocab_freq.pkl └── rt-polaritydata │ ├── README.md │ ├── rt-polarity.neg │ └── rt-polarity.pos ├── tf_record.py └── view_word_embedding.py /Bi_LSTM_CRF/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/README.md -------------------------------------------------------------------------------- /Bi_LSTM_CRF/bilstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/bilstm.py -------------------------------------------------------------------------------- /Bi_LSTM_CRF/bilstm_tfrecord_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/bilstm_tfrecord_train.py -------------------------------------------------------------------------------- /Bi_LSTM_CRF/compare_jieba1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/compare_jieba1.png -------------------------------------------------------------------------------- /Bi_LSTM_CRF/compare_jieba2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/compare_jieba2.png -------------------------------------------------------------------------------- /Bi_LSTM_CRF/load_meta_bilstm_crf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/load_meta_bilstm_crf.py -------------------------------------------------------------------------------- /Bi_LSTM_CRF/plot_accuracy_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/plot_accuracy_loss.py -------------------------------------------------------------------------------- /Bi_LSTM_CRF/preprocess_14cn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/preprocess_14cn.py -------------------------------------------------------------------------------- /Bi_LSTM_CRF/tf_recoder_mid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Bi_LSTM_CRF/tf_recoder_mid.py -------------------------------------------------------------------------------- /FastText_Subword/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/FastText_Subword/README.md -------------------------------------------------------------------------------- /FastText_Subword/fast_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/FastText_Subword/fast_text.py -------------------------------------------------------------------------------- /FastText_Subword/text_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/FastText_Subword/text_helpers.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/README.md -------------------------------------------------------------------------------- /Sentence2Vec/README.md: -------------------------------------------------------------------------------- 1 | 复现论文:“A SIMPLE BUT TOUGH-TO-BEAT BASELINE FOR SENTENCE EMBEDDINGS” 2 | 3 | 并于TF-IDF和普通的AVG的Sentence Vec进行了对比试验 4 | -------------------------------------------------------------------------------- /Sentence2Vec/sentence2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Sentence2Vec/sentence2vec.py -------------------------------------------------------------------------------- /Sentence2Vec/text_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/Sentence2Vec/text_helpers.py -------------------------------------------------------------------------------- /doc2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/doc2vec.py -------------------------------------------------------------------------------- /helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/helper.py -------------------------------------------------------------------------------- /imp_rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/imp_rnn.py -------------------------------------------------------------------------------- /load_meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/load_meta.py -------------------------------------------------------------------------------- /temp/README.md: -------------------------------------------------------------------------------- 1 | 哎,data又大于25mb了,有200mb 2 | 3 | 又没办法上传啦 4 | 5 | cn_nlp文件夹中是一些Bi-LSTM+CRF做的中文分词所需要的文件 6 | -------------------------------------------------------------------------------- /temp/cbow_movie_embeddings.ckpt.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/cbow_movie_embeddings.ckpt.index -------------------------------------------------------------------------------- /temp/cbow_movie_embeddings.ckpt.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/cbow_movie_embeddings.ckpt.meta -------------------------------------------------------------------------------- /temp/cn_nlp/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /temp/cn_nlp/bilstm_crf_cn.ckpt.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/cn_nlp/bilstm_crf_cn.ckpt.index -------------------------------------------------------------------------------- /temp/cn_nlp/bilstm_crf_cn.ckpt.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/cn_nlp/bilstm_crf_cn.ckpt.meta -------------------------------------------------------------------------------- /temp/cn_nlp/bilstm_crf_cn.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/cn_nlp/bilstm_crf_cn.pkl -------------------------------------------------------------------------------- /temp/cn_nlp/checkpoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/cn_nlp/checkpoint -------------------------------------------------------------------------------- /temp/cn_nlp/model_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/cn_nlp/model_log.txt -------------------------------------------------------------------------------- /temp/movie_vocab.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/movie_vocab.pkl -------------------------------------------------------------------------------- /temp/movie_vocab_freq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/movie_vocab_freq.pkl -------------------------------------------------------------------------------- /temp/rt-polaritydata/README.md: -------------------------------------------------------------------------------- 1 | 所用数据集 2 | -------------------------------------------------------------------------------- /temp/rt-polaritydata/rt-polarity.neg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/rt-polaritydata/rt-polarity.neg -------------------------------------------------------------------------------- /temp/rt-polaritydata/rt-polarity.pos: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/temp/rt-polaritydata/rt-polarity.pos -------------------------------------------------------------------------------- /tf_record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/tf_record.py -------------------------------------------------------------------------------- /view_word_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingyu-shi/Learning_NLP/HEAD/view_word_embedding.py --------------------------------------------------------------------------------