├── .DS_Store ├── .idea ├── KnowledgeGraphBeginner.iml ├── encodings.xml ├── libraries │ └── R_User_Library.xml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── 1.simpleKnowledgeGraph └── simpleKG.py ├── 2.medicalKnowledgeGraph ├── .DS_Store ├── __pycache__ │ └── max_cut.cpython-37.pyc ├── buildKG.py ├── data │ ├── .DS_Store │ ├── medical.json │ └── simple_medical.json └── dict │ ├── .DS_Store │ ├── check.txt │ ├── department.txt │ ├── disease.txt │ ├── drug.txt │ ├── food.txt │ ├── producer.txt │ └── symptoms.txt ├── 3.KGchatbot ├── .DS_Store ├── __pycache__ │ ├── answer_search.cpython-37.pyc │ ├── question_classifier.cpython-37.pyc │ └── question_parser.cpython-37.pyc ├── answer_search.py ├── chatbot_graph.py ├── dict │ ├── check.txt │ ├── deny.txt │ ├── department.txt │ ├── disease.txt │ ├── drug.txt │ ├── food.txt │ ├── producer.txt │ └── symptoms.txt ├── question_classifier.py └── question_parser.py └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/KnowledgeGraphBeginner/7557fb16b51b587469d311856868906adda68a19/.DS_Store -------------------------------------------------------------------------------- /.idea/KnowledgeGraphBeginner.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/libraries/R_User_Library.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 83 | 84 | 85 | 86 | medi 87 | create_graphrels 88 | rels_symptom 89 | create_relationship 90 | create_diseases_nodes 91 | handler 92 | MedicalGraph 93 | create_graphnodes 94 | read_nodes 95 | diseases 96 | build_wdtype_dict 97 | classify 98 | 怎么办 99 | check_medical 100 | region_tree 101 | build_actree 102 | check_words 103 | entity_dict 104 | 105 | 106 | 107 | 109 | 110 | 122 | 123 | 124 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 |