CPC G16H 70/40 (2018.01) | 19 Claims |
10. An apparatus for constructing a drug knowledge graph, the apparatus comprising:
one or more processors; and
a storage apparatus on which one or more programs are stored,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform operations, the operations comprising:
identifying entities in a drug text;
replacing medical key entities among the entities with character strings that conform to a preset rule, to obtain a replaced text;
restoring the character strings in a word segmentation result, determined based on the replaced text, to the medical key entities replaced by the character strings;
forming, based on the entities, a linear entity relationship between the entities; and
generating a drug knowledge graph according to a parsing result obtained by syntactically parsing the linear entity relationship.
|