
科学技术与工程

中国技术经济学会
Spleen and Stomach Disease Knowledge Graph Construction Based on BiLSTM-CRF and Neo4j
Ping TAN , Hui-na LIU , Chang-fa WEI
Science Technology and Engineering ›› 2025, Vol. 25 ›› Issue (22) : 9436 -9444.
In order to advance the analysis and mining of TCM (traditional Chinese medicine) text data and achieve intelligent extraction and processing of knowledge, the BIO(begin, inside, outside) sequence labeling method, the BiLSTM-CRF model, and manually defined rules were adopted to complete the knowledge extraction task. Utilizing the Py2neo library in Python 3.6 and the Neo4j database, a spleen and stomach disease knowledge graph was constructed based on Neo4j, and a TCM spleen and stomach disease named entity recognition system was developed using the Flask framework. The results show that the BiLSTM-CRF model achieves high performance and good generalization ability on the test set, with accuracy, precision, recall, and F1 scores of 96.19%, 86.64%, 88.82%, and 87.71%, respectively. The constructed knowledge graph includes eight types of node labels, such as prescriptions or patent medicines, Chinese medicines, and clinical manifestations, as well as ten types of relationships. It supports the querying and discovery of nodes and relationships among Western medical diagnosis, TCM syndromes, and TCM treatment principles for spleen and stomach diseases. It is concluded that the BiLSTM-CRF model demonstrates excellent generalizability in named entity recognition of TCM spleen and stomach disease. It exhibits outstanding performance in handling complex text structures and domain-specific terminology, providing strong support for the research on knowledge extraction and knowledge graph construction in Traditional Chinese Medicine for spleen and stomach diseases.
traditional chinese medicine / spleen and stomach diseases / BIO sequence tagging method / manually defined rules / BiLSTM-CRF model / knowledge graph
/
| 〈 |
|
〉 |