├── README.md ├── chatbot.py ├── config ├── chat_log.txt ├── default_answer.xml ├── inverse_index.json ├── path_config.py ├── robot_template.xml ├── special_words.txt ├── vocab_from_q.json └── word2vec.model ├── data_corpus └── conversation_test.txt ├── data_knowledge └── medical.json ├── factory.py ├── filter.py ├── introduction └── Structure.png ├── kg_index └── medical │ ├── entity_node │ ├── category.json │ ├── category_inv.json │ ├── check.json │ ├── check_inv.json │ ├── common_drug.json │ ├── common_drug_inv.json │ ├── name.json │ ├── name_inv.json │ ├── recommand_drug.json │ ├── recommand_drug_inv.json │ ├── symptom.json │ └── symptom_inv.json │ ├── origin_index.json │ ├── relation_edge │ ├── category_check.json │ ├── category_common_drug.json │ ├── category_name.json │ ├── category_recommand_drug.json │ ├── category_symptom.json │ ├── check_category.json │ ├── check_common_drug.json │ ├── check_name.json │ ├── check_recommand_drug.json │ ├── check_symptom.json │ ├── common_drug_category.json │ ├── common_drug_check.json │ ├── common_drug_name.json │ ├── common_drug_recommand_drug.json │ ├── common_drug_symptom.json │ ├── name_category.json │ ├── name_check.json │ ├── name_common_drug.json │ ├── name_recommand_drug.json │ ├── name_symptom.json │ ├── recommand_drug_category.json │ ├── recommand_drug_check.json │ ├── recommand_drug_common_drug.json │ ├── recommand_drug_name.json │ ├── recommand_drug_symptom.json │ ├── symptom_category.json │ ├── symptom_check.json │ ├── symptom_common_drug.json │ ├── symptom_name.json │ └── symptom_recommand_drug.json │ ├── search_key_word.py │ └── special_words.txt ├── layer.py ├── run.py ├── score.py └── utils ├── __init__.py ├── learn_from_internet.py ├── mytest.py └── question_to_learn.txt /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/README.md -------------------------------------------------------------------------------- /chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/chatbot.py -------------------------------------------------------------------------------- /config/chat_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/chat_log.txt -------------------------------------------------------------------------------- /config/default_answer.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/default_answer.xml -------------------------------------------------------------------------------- /config/inverse_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/inverse_index.json -------------------------------------------------------------------------------- /config/path_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/path_config.py -------------------------------------------------------------------------------- /config/robot_template.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/robot_template.xml -------------------------------------------------------------------------------- /config/special_words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/special_words.txt -------------------------------------------------------------------------------- /config/vocab_from_q.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/vocab_from_q.json -------------------------------------------------------------------------------- /config/word2vec.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/config/word2vec.model -------------------------------------------------------------------------------- /data_corpus/conversation_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/data_corpus/conversation_test.txt -------------------------------------------------------------------------------- /data_knowledge/medical.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/data_knowledge/medical.json -------------------------------------------------------------------------------- /factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/factory.py -------------------------------------------------------------------------------- /filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/filter.py -------------------------------------------------------------------------------- /introduction/Structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/introduction/Structure.png -------------------------------------------------------------------------------- /kg_index/medical/entity_node/category.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/category.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/category_inv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/category_inv.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/check.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/check_inv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/check_inv.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/common_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/common_drug.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/common_drug_inv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/common_drug_inv.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/name.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/name_inv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/name_inv.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/recommand_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/recommand_drug.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/recommand_drug_inv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/recommand_drug_inv.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/symptom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/symptom.json -------------------------------------------------------------------------------- /kg_index/medical/entity_node/symptom_inv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/entity_node/symptom_inv.json -------------------------------------------------------------------------------- /kg_index/medical/origin_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/origin_index.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/category_check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/category_check.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/category_common_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/category_common_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/category_name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/category_name.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/category_recommand_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/category_recommand_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/category_symptom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/category_symptom.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/check_category.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/check_category.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/check_common_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/check_common_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/check_name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/check_name.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/check_recommand_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/check_recommand_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/check_symptom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/check_symptom.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/common_drug_category.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/common_drug_category.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/common_drug_check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/common_drug_check.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/common_drug_name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/common_drug_name.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/common_drug_recommand_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/common_drug_recommand_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/common_drug_symptom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/common_drug_symptom.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/name_category.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/name_category.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/name_check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/name_check.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/name_common_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/name_common_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/name_recommand_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/name_recommand_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/name_symptom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/name_symptom.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/recommand_drug_category.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/recommand_drug_category.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/recommand_drug_check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/recommand_drug_check.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/recommand_drug_common_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/recommand_drug_common_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/recommand_drug_name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/recommand_drug_name.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/recommand_drug_symptom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/recommand_drug_symptom.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/symptom_category.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/symptom_category.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/symptom_check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/symptom_check.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/symptom_common_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/symptom_common_drug.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/symptom_name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/symptom_name.json -------------------------------------------------------------------------------- /kg_index/medical/relation_edge/symptom_recommand_drug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/relation_edge/symptom_recommand_drug.json -------------------------------------------------------------------------------- /kg_index/medical/search_key_word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/search_key_word.py -------------------------------------------------------------------------------- /kg_index/medical/special_words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/kg_index/medical/special_words.txt -------------------------------------------------------------------------------- /layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/layer.py -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/run.py -------------------------------------------------------------------------------- /score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/score.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/learn_from_internet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/utils/learn_from_internet.py -------------------------------------------------------------------------------- /utils/mytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/utils/mytest.py -------------------------------------------------------------------------------- /utils/question_to_learn.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoWeiXH/ChineseChatBot/HEAD/utils/question_to_learn.txt --------------------------------------------------------------------------------