├── .gitignore ├── LICENSE.txt ├── README.md ├── baidu_search ├── baidu_search │ ├── __init__.py │ ├── items.py │ ├── pipelines.py │ ├── result.html │ ├── settings.py │ └── spiders │ │ ├── __init__.py │ │ └── baidu_search.py └── scrapy.cfg ├── chatbotv1 ├── pom.xml └── src │ ├── main │ ├── .DS_Store │ ├── java │ │ ├── com │ │ │ └── shareditor │ │ │ │ └── chatbotv1 │ │ │ │ ├── Action.java │ │ │ │ ├── HttpServerInboundHandler.java │ │ │ │ ├── Indexer.java │ │ │ │ ├── NettyHttpServletResponse.java │ │ │ │ └── Searcher.java │ │ └── org │ │ │ └── wltea │ │ │ └── analyzer │ │ │ ├── cfg │ │ │ ├── Configuration.java │ │ │ └── DefaultConfig.java │ │ │ ├── core │ │ │ ├── AnalyzeContext.java │ │ │ ├── CJKSegmenter.java │ │ │ ├── CN_QuantifierSegmenter.java │ │ │ ├── CharacterUtil.java │ │ │ ├── IKArbitrator.java │ │ │ ├── IKSegmenter.java │ │ │ ├── ISegmenter.java │ │ │ ├── LetterSegmenter.java │ │ │ ├── Lexeme.java │ │ │ ├── LexemePath.java │ │ │ └── QuickSortSet.java │ │ │ ├── dic │ │ │ ├── DictSegment.java │ │ │ ├── Dictionary.java │ │ │ ├── Hit.java │ │ │ ├── main2012.dic │ │ │ └── quantifier.dic │ │ │ ├── lucene │ │ │ ├── IKAnalyzer.java │ │ │ └── IKTokenizer.java │ │ │ ├── query │ │ │ ├── IKQueryExpressionParser.java │ │ │ └── SWMCQueryBuilder.java │ │ │ └── sample │ │ │ ├── IKAnalzyerDemo.java │ │ │ └── LuceneIndexAndSearchDemo.java │ └── resources │ │ ├── IKAnalyzer.cfg.xml │ │ ├── ext.dic │ │ ├── main2012.dic │ │ ├── quantifier.dic │ │ └── stopword.dic │ └── test │ └── java │ └── com │ └── shareditor │ └── chatbotv1 │ └── AppTest.java ├── chatbotv2 ├── lstm_train.py ├── my_seq2seq.py ├── my_seq2seq_v2.py ├── one_lstm_sequence_generate.py └── readme.txt ├── chatbotv3 └── encoder_decoder_seq2seq.py ├── chatbotv4 ├── data │ ├── test.input │ ├── test.output │ ├── train.input │ └── train.output ├── data_utils.py ├── demo.py ├── readme.txt ├── seq2seq_model.py ├── seq2seq_patch.py └── translate.py ├── chatbotv5 ├── demo.py ├── readme.md ├── samples │ ├── answer │ └── question └── word_token.py ├── corpus ├── gossip.zip └── xiaohuangji.txt ├── digital_recognition.py ├── digital_recognition_cnn.py ├── gensim_word2vec.py ├── learning_tensorflow ├── 1.py ├── 2.py ├── 3.py ├── graph └── tmp │ └── events.out.tfevents.1481183189.localhost ├── lstm_code ├── iamtrask │ └── lstm.py ├── nicodjimenez │ ├── README.md │ ├── lstm.py │ ├── test.py │ └── test2.py └── tensorflow │ └── test.py ├── pattern_recognition.lua ├── read_images.c ├── seq2seq ├── hello_sequence.py └── tflearn_prj │ ├── 07_lstm.py │ ├── my_lstm_test.py │ ├── my_tflearn_demo.py │ └── seq2seq_example.py ├── subtitle ├── preprocess │ ├── change_name.py │ ├── clear_empty_dir.py │ ├── conv.sh │ ├── conv2simple.py │ ├── conv_big5.sh │ ├── del_file.py │ ├── extract_sentence_ass.py │ ├── extract_sentence_srt.py │ ├── extract_sentence_ssa.py │ ├── filter.py │ ├── get_charset.py │ ├── get_charset_and_conv.py │ ├── get_file_charset.py │ ├── langconv.py │ ├── mv_ass.py │ ├── mv_lrc.py │ ├── mv_rar.py │ ├── mv_smi.py │ ├── mv_srt.py │ ├── mv_ssa.py │ ├── mv_str.py │ ├── mv_sup.py │ ├── mv_vtt.py │ ├── mv_zip.py │ ├── unzip.sh │ └── zh_wiki.py ├── scrapy.cfg └── subtitle_crawler │ ├── __init__.py │ ├── __init__.pyc │ ├── items.py │ ├── items.pyc │ ├── pipelines.py │ ├── pipelines.pyc │ ├── settings.py │ ├── settings.pyc │ └── spiders │ ├── __init__.py │ ├── __init__.pyc │ ├── subtitle_spider.py │ └── subtitle_spider.pyc ├── tf_classify_demo ├── classify.py ├── data │ └── sample │ │ └── samples ├── readme.txt ├── sample_data.py └── word_vectors_loader.py ├── word2vec ├── LICENSE ├── README.txt ├── compute-accuracy.c ├── demo-analogy.sh ├── demo-classes.sh ├── demo-phrase-accuracy.sh ├── demo-phrases.sh ├── demo-train-big-model-v1.sh ├── demo-word-accuracy.sh ├── demo-word.sh ├── distance.c ├── makefile ├── questions-phrases.txt ├── questions-words.txt ├── word-analogy.c ├── word2phrase.c └── word2vec.c ├── word_segment.py └── word_vectors_loader.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/README.md -------------------------------------------------------------------------------- /baidu_search/baidu_search/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /baidu_search/baidu_search/items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/baidu_search/baidu_search/items.py -------------------------------------------------------------------------------- /baidu_search/baidu_search/pipelines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/baidu_search/baidu_search/pipelines.py -------------------------------------------------------------------------------- /baidu_search/baidu_search/result.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/baidu_search/baidu_search/result.html -------------------------------------------------------------------------------- /baidu_search/baidu_search/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/baidu_search/baidu_search/settings.py -------------------------------------------------------------------------------- /baidu_search/baidu_search/spiders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/baidu_search/baidu_search/spiders/__init__.py -------------------------------------------------------------------------------- /baidu_search/baidu_search/spiders/baidu_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/baidu_search/baidu_search/spiders/baidu_search.py -------------------------------------------------------------------------------- /baidu_search/scrapy.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/baidu_search/scrapy.cfg -------------------------------------------------------------------------------- /chatbotv1/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/pom.xml -------------------------------------------------------------------------------- /chatbotv1/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/.DS_Store -------------------------------------------------------------------------------- /chatbotv1/src/main/java/com/shareditor/chatbotv1/Action.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/com/shareditor/chatbotv1/Action.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/com/shareditor/chatbotv1/HttpServerInboundHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/com/shareditor/chatbotv1/HttpServerInboundHandler.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/com/shareditor/chatbotv1/Indexer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/com/shareditor/chatbotv1/Indexer.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/com/shareditor/chatbotv1/NettyHttpServletResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/com/shareditor/chatbotv1/NettyHttpServletResponse.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/com/shareditor/chatbotv1/Searcher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/com/shareditor/chatbotv1/Searcher.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/cfg/Configuration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/cfg/Configuration.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/cfg/DefaultConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/cfg/DefaultConfig.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/AnalyzeContext.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/AnalyzeContext.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/CJKSegmenter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/CJKSegmenter.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/CN_QuantifierSegmenter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/CN_QuantifierSegmenter.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/CharacterUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/CharacterUtil.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/IKArbitrator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/IKArbitrator.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/IKSegmenter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/IKSegmenter.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/ISegmenter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/ISegmenter.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/LetterSegmenter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/LetterSegmenter.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/Lexeme.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/Lexeme.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/LexemePath.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/LexemePath.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/core/QuickSortSet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/core/QuickSortSet.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/dic/DictSegment.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/dic/DictSegment.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/dic/Dictionary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/dic/Dictionary.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/dic/Hit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/dic/Hit.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/dic/main2012.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/dic/main2012.dic -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/dic/quantifier.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/dic/quantifier.dic -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/lucene/IKAnalyzer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/lucene/IKAnalyzer.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/lucene/IKTokenizer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/lucene/IKTokenizer.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/query/IKQueryExpressionParser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/query/IKQueryExpressionParser.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/query/SWMCQueryBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/query/SWMCQueryBuilder.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/sample/IKAnalzyerDemo.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/sample/IKAnalzyerDemo.java -------------------------------------------------------------------------------- /chatbotv1/src/main/java/org/wltea/analyzer/sample/LuceneIndexAndSearchDemo.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/java/org/wltea/analyzer/sample/LuceneIndexAndSearchDemo.java -------------------------------------------------------------------------------- /chatbotv1/src/main/resources/IKAnalyzer.cfg.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/resources/IKAnalyzer.cfg.xml -------------------------------------------------------------------------------- /chatbotv1/src/main/resources/ext.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/resources/ext.dic -------------------------------------------------------------------------------- /chatbotv1/src/main/resources/main2012.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/resources/main2012.dic -------------------------------------------------------------------------------- /chatbotv1/src/main/resources/quantifier.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/resources/quantifier.dic -------------------------------------------------------------------------------- /chatbotv1/src/main/resources/stopword.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/main/resources/stopword.dic -------------------------------------------------------------------------------- /chatbotv1/src/test/java/com/shareditor/chatbotv1/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv1/src/test/java/com/shareditor/chatbotv1/AppTest.java -------------------------------------------------------------------------------- /chatbotv2/lstm_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv2/lstm_train.py -------------------------------------------------------------------------------- /chatbotv2/my_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv2/my_seq2seq.py -------------------------------------------------------------------------------- /chatbotv2/my_seq2seq_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv2/my_seq2seq_v2.py -------------------------------------------------------------------------------- /chatbotv2/one_lstm_sequence_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv2/one_lstm_sequence_generate.py -------------------------------------------------------------------------------- /chatbotv2/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv2/readme.txt -------------------------------------------------------------------------------- /chatbotv3/encoder_decoder_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv3/encoder_decoder_seq2seq.py -------------------------------------------------------------------------------- /chatbotv4/data/test.input: -------------------------------------------------------------------------------- 1 | 你 好 2 | 对 不 起 3 | 谢 谢 你 4 | 再 见 5 | -------------------------------------------------------------------------------- /chatbotv4/data/test.output: -------------------------------------------------------------------------------- 1 | 你 也 好 2 | 没 关 系 3 | 不 客 气 4 | 再 见 5 | -------------------------------------------------------------------------------- /chatbotv4/data/train.input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/data/train.input -------------------------------------------------------------------------------- /chatbotv4/data/train.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/data/train.output -------------------------------------------------------------------------------- /chatbotv4/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/data_utils.py -------------------------------------------------------------------------------- /chatbotv4/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/demo.py -------------------------------------------------------------------------------- /chatbotv4/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/readme.txt -------------------------------------------------------------------------------- /chatbotv4/seq2seq_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/seq2seq_model.py -------------------------------------------------------------------------------- /chatbotv4/seq2seq_patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/seq2seq_patch.py -------------------------------------------------------------------------------- /chatbotv4/translate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv4/translate.py -------------------------------------------------------------------------------- /chatbotv5/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv5/demo.py -------------------------------------------------------------------------------- /chatbotv5/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv5/readme.md -------------------------------------------------------------------------------- /chatbotv5/samples/answer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv5/samples/answer -------------------------------------------------------------------------------- /chatbotv5/samples/question: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv5/samples/question -------------------------------------------------------------------------------- /chatbotv5/word_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/chatbotv5/word_token.py -------------------------------------------------------------------------------- /corpus/gossip.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/corpus/gossip.zip -------------------------------------------------------------------------------- /corpus/xiaohuangji.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/corpus/xiaohuangji.txt -------------------------------------------------------------------------------- /digital_recognition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/digital_recognition.py -------------------------------------------------------------------------------- /digital_recognition_cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/digital_recognition_cnn.py -------------------------------------------------------------------------------- /gensim_word2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/gensim_word2vec.py -------------------------------------------------------------------------------- /learning_tensorflow/1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/learning_tensorflow/1.py -------------------------------------------------------------------------------- /learning_tensorflow/2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/learning_tensorflow/2.py -------------------------------------------------------------------------------- /learning_tensorflow/3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/learning_tensorflow/3.py -------------------------------------------------------------------------------- /learning_tensorflow/graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/learning_tensorflow/graph -------------------------------------------------------------------------------- /learning_tensorflow/tmp/events.out.tfevents.1481183189.localhost: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/learning_tensorflow/tmp/events.out.tfevents.1481183189.localhost -------------------------------------------------------------------------------- /lstm_code/iamtrask/lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/lstm_code/iamtrask/lstm.py -------------------------------------------------------------------------------- /lstm_code/nicodjimenez/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/lstm_code/nicodjimenez/README.md -------------------------------------------------------------------------------- /lstm_code/nicodjimenez/lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/lstm_code/nicodjimenez/lstm.py -------------------------------------------------------------------------------- /lstm_code/nicodjimenez/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/lstm_code/nicodjimenez/test.py -------------------------------------------------------------------------------- /lstm_code/nicodjimenez/test2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/lstm_code/nicodjimenez/test2.py -------------------------------------------------------------------------------- /lstm_code/tensorflow/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/lstm_code/tensorflow/test.py -------------------------------------------------------------------------------- /pattern_recognition.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/pattern_recognition.lua -------------------------------------------------------------------------------- /read_images.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/read_images.c -------------------------------------------------------------------------------- /seq2seq/hello_sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/seq2seq/hello_sequence.py -------------------------------------------------------------------------------- /seq2seq/tflearn_prj/07_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/seq2seq/tflearn_prj/07_lstm.py -------------------------------------------------------------------------------- /seq2seq/tflearn_prj/my_lstm_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/seq2seq/tflearn_prj/my_lstm_test.py -------------------------------------------------------------------------------- /seq2seq/tflearn_prj/my_tflearn_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/seq2seq/tflearn_prj/my_tflearn_demo.py -------------------------------------------------------------------------------- /seq2seq/tflearn_prj/seq2seq_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/seq2seq/tflearn_prj/seq2seq_example.py -------------------------------------------------------------------------------- /subtitle/preprocess/change_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/change_name.py -------------------------------------------------------------------------------- /subtitle/preprocess/clear_empty_dir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/clear_empty_dir.py -------------------------------------------------------------------------------- /subtitle/preprocess/conv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/conv.sh -------------------------------------------------------------------------------- /subtitle/preprocess/conv2simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/conv2simple.py -------------------------------------------------------------------------------- /subtitle/preprocess/conv_big5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/conv_big5.sh -------------------------------------------------------------------------------- /subtitle/preprocess/del_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/del_file.py -------------------------------------------------------------------------------- /subtitle/preprocess/extract_sentence_ass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/extract_sentence_ass.py -------------------------------------------------------------------------------- /subtitle/preprocess/extract_sentence_srt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/extract_sentence_srt.py -------------------------------------------------------------------------------- /subtitle/preprocess/extract_sentence_ssa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/extract_sentence_ssa.py -------------------------------------------------------------------------------- /subtitle/preprocess/filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/filter.py -------------------------------------------------------------------------------- /subtitle/preprocess/get_charset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/get_charset.py -------------------------------------------------------------------------------- /subtitle/preprocess/get_charset_and_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/get_charset_and_conv.py -------------------------------------------------------------------------------- /subtitle/preprocess/get_file_charset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/get_file_charset.py -------------------------------------------------------------------------------- /subtitle/preprocess/langconv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/langconv.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_ass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_ass.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_lrc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_lrc.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_rar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_rar.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_smi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_smi.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_srt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_srt.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_ssa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_ssa.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_str.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_str.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_sup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_sup.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_vtt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_vtt.py -------------------------------------------------------------------------------- /subtitle/preprocess/mv_zip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/mv_zip.py -------------------------------------------------------------------------------- /subtitle/preprocess/unzip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/unzip.sh -------------------------------------------------------------------------------- /subtitle/preprocess/zh_wiki.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/preprocess/zh_wiki.py -------------------------------------------------------------------------------- /subtitle/scrapy.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/scrapy.cfg -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/__init__.pyc -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/items.py -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/items.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/items.pyc -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/pipelines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/pipelines.py -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/pipelines.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/pipelines.pyc -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/settings.py -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/settings.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/settings.pyc -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/spiders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/spiders/__init__.py -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/spiders/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/spiders/__init__.pyc -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/spiders/subtitle_spider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/spiders/subtitle_spider.py -------------------------------------------------------------------------------- /subtitle/subtitle_crawler/spiders/subtitle_spider.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/subtitle/subtitle_crawler/spiders/subtitle_spider.pyc -------------------------------------------------------------------------------- /tf_classify_demo/classify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/tf_classify_demo/classify.py -------------------------------------------------------------------------------- /tf_classify_demo/data/sample/samples: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/tf_classify_demo/data/sample/samples -------------------------------------------------------------------------------- /tf_classify_demo/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/tf_classify_demo/readme.txt -------------------------------------------------------------------------------- /tf_classify_demo/sample_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/tf_classify_demo/sample_data.py -------------------------------------------------------------------------------- /tf_classify_demo/word_vectors_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/tf_classify_demo/word_vectors_loader.py -------------------------------------------------------------------------------- /word2vec/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/LICENSE -------------------------------------------------------------------------------- /word2vec/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/README.txt -------------------------------------------------------------------------------- /word2vec/compute-accuracy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/compute-accuracy.c -------------------------------------------------------------------------------- /word2vec/demo-analogy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/demo-analogy.sh -------------------------------------------------------------------------------- /word2vec/demo-classes.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/demo-classes.sh -------------------------------------------------------------------------------- /word2vec/demo-phrase-accuracy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/demo-phrase-accuracy.sh -------------------------------------------------------------------------------- /word2vec/demo-phrases.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/demo-phrases.sh -------------------------------------------------------------------------------- /word2vec/demo-train-big-model-v1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/demo-train-big-model-v1.sh -------------------------------------------------------------------------------- /word2vec/demo-word-accuracy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/demo-word-accuracy.sh -------------------------------------------------------------------------------- /word2vec/demo-word.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/demo-word.sh -------------------------------------------------------------------------------- /word2vec/distance.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/distance.c -------------------------------------------------------------------------------- /word2vec/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/makefile -------------------------------------------------------------------------------- /word2vec/questions-phrases.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/questions-phrases.txt -------------------------------------------------------------------------------- /word2vec/questions-words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/questions-words.txt -------------------------------------------------------------------------------- /word2vec/word-analogy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/word-analogy.c -------------------------------------------------------------------------------- /word2vec/word2phrase.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/word2phrase.c -------------------------------------------------------------------------------- /word2vec/word2vec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word2vec/word2vec.c -------------------------------------------------------------------------------- /word_segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word_segment.py -------------------------------------------------------------------------------- /word_vectors_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcdevelop/ChatBotCourse/HEAD/word_vectors_loader.py --------------------------------------------------------------------------------