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.

PDF
Science Technology and Engineering ›› 2025, Vol. 25 ›› Issue (22) : 9436-9444 DOI: 10.12404/j.issn.1671-1815.2404910
research-article
Spleen and Stomach Disease Knowledge Graph Construction Based on BiLSTM-CRF and Neo4j
Author information +
History +
PDF

Abstract

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.

Keywords

traditional chinese medicine / spleen and stomach diseases / BIO sequence tagging method / manually defined rules / BiLSTM-CRF model / knowledge graph

Cite this article

Download citation ▾
Ping TAN, Hui-na LIU, Chang-fa WEI. Spleen and Stomach Disease Knowledge Graph Construction Based on BiLSTM-CRF and Neo4j. Science Technology and Engineering, 2025, 25(22): 9436-9444 DOI:10.12404/j.issn.1671-1815.2404910

登录浏览全文

4963

注册一个新账户 忘记密码

References

Funding

PDF (9895KB)

19

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉