├── README.md ├── __pycache__ ├── answer_search.cpython-36.pyc ├── question_classifier.cpython-36.pyc └── question_parser.cpython-36.pyc ├── answer_search.py ├── chatbot_graph.py ├── data └── medical.json ├── dict ├── check.txt ├── deny.txt ├── department.txt ├── disease.txt ├── drug.txt ├── food.txt ├── producer.txt └── symptom.txt ├── document ├── chat1.png ├── chat2.png ├── kg_route.png ├── qa_route.png └── 刘焕勇-20181004-kg_route.pptx ├── img ├── chat1.png ├── chat2.png ├── graph_summary.png ├── kg_route.png ├── qa_route.png └── wechat.jpg ├── notebook_tutorials ├── medical_data.csv ├── 【A】安装配置环境.ipynb ├── 【B】导入数据,创建医疗知识图谱.ipynb ├── 【C】探索知识图谱.ipynb ├── 【D】问答机器人完整demo体验.ipynb ├── 【E】问答机器人-提取问题相关实体和关系.ipynb ├── 【F】问答机器人-生成Cypher查询语句.ipynb ├── 【G】问答机器人-查询图数据库,生成回答.ipynb ├── 【Y】未来展望.ipynb └── 【Z】附录:整理数据-json转csv.ipynb ├── prepare_data ├── build_data.py ├── data_spider.py └── max_cut.py ├── question_classifier.py ├── question_parser.py └── wechat.jpg /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/README.md -------------------------------------------------------------------------------- /__pycache__/answer_search.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/__pycache__/answer_search.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/question_classifier.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/__pycache__/question_classifier.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/question_parser.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/__pycache__/question_parser.cpython-36.pyc -------------------------------------------------------------------------------- /answer_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/answer_search.py -------------------------------------------------------------------------------- /chatbot_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/chatbot_graph.py -------------------------------------------------------------------------------- /data/medical.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/data/medical.json -------------------------------------------------------------------------------- /dict/check.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/check.txt -------------------------------------------------------------------------------- /dict/deny.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/deny.txt -------------------------------------------------------------------------------- /dict/department.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/department.txt -------------------------------------------------------------------------------- /dict/disease.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/disease.txt -------------------------------------------------------------------------------- /dict/drug.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/drug.txt -------------------------------------------------------------------------------- /dict/food.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/food.txt -------------------------------------------------------------------------------- /dict/producer.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/producer.txt -------------------------------------------------------------------------------- /dict/symptom.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/dict/symptom.txt -------------------------------------------------------------------------------- /document/chat1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/document/chat1.png -------------------------------------------------------------------------------- /document/chat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/document/chat2.png -------------------------------------------------------------------------------- /document/kg_route.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/document/kg_route.png -------------------------------------------------------------------------------- /document/qa_route.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/document/qa_route.png -------------------------------------------------------------------------------- /document/刘焕勇-20181004-kg_route.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/document/刘焕勇-20181004-kg_route.pptx -------------------------------------------------------------------------------- /img/chat1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/img/chat1.png -------------------------------------------------------------------------------- /img/chat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/img/chat2.png -------------------------------------------------------------------------------- /img/graph_summary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/img/graph_summary.png -------------------------------------------------------------------------------- /img/kg_route.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/img/kg_route.png -------------------------------------------------------------------------------- /img/qa_route.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/img/qa_route.png -------------------------------------------------------------------------------- /img/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/img/wechat.jpg -------------------------------------------------------------------------------- /notebook_tutorials/medical_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/medical_data.csv -------------------------------------------------------------------------------- /notebook_tutorials/【A】安装配置环境.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【A】安装配置环境.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【B】导入数据,创建医疗知识图谱.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【B】导入数据,创建医疗知识图谱.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【C】探索知识图谱.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【C】探索知识图谱.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【D】问答机器人完整demo体验.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【D】问答机器人完整demo体验.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【E】问答机器人-提取问题相关实体和关系.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【E】问答机器人-提取问题相关实体和关系.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【F】问答机器人-生成Cypher查询语句.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【F】问答机器人-生成Cypher查询语句.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【G】问答机器人-查询图数据库,生成回答.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【G】问答机器人-查询图数据库,生成回答.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【Y】未来展望.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【Y】未来展望.ipynb -------------------------------------------------------------------------------- /notebook_tutorials/【Z】附录:整理数据-json转csv.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/notebook_tutorials/【Z】附录:整理数据-json转csv.ipynb -------------------------------------------------------------------------------- /prepare_data/build_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/prepare_data/build_data.py -------------------------------------------------------------------------------- /prepare_data/data_spider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/prepare_data/data_spider.py -------------------------------------------------------------------------------- /prepare_data/max_cut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/prepare_data/max_cut.py -------------------------------------------------------------------------------- /question_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/question_classifier.py -------------------------------------------------------------------------------- /question_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/question_parser.py -------------------------------------------------------------------------------- /wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TommyZihao/QASystemOnMedicalKG/HEAD/wechat.jpg --------------------------------------------------------------------------------