The invention particularly relates to a document abstracting method based on
domain knowledge and a multi-
granularity graph network, which comprises the following steps: S1, constructing a knowledge coding module, carrying out
domain knowledge graph transfer learning, extracting triple structure features in combination with a
capsule network, and generating a text entity coding module; s2, constructing a knowledge fusion module, converting a document text into a
semantic vector, and adaptively fusing the
semantic vector with external knowledge; s3, constructing a word-level semantic graph, and aggregating neighborhood information through a semantic graph attention mechanism to obtain
word embedding representation containing context; s4, constructing a
sentence-level semantic graph, performing self-attention calculation on the word-level
semantic vector in the S3 to obtain semantic node representation of the
sentence-level semantic vector, and performing
feature aggregation on
sentence-level nodes to obtain global
semantic information of the document; and S5, constructing an output layer, and predicting according to the document
feature vector in the S4 to obtain a final extraction type abstract result. The method has the advantages that redundant information in the document is removed, and
ambiguity of text
semantics is eliminated.