Text knowledge supplementing method and device based on knowledge graph

A knowledge graph and text technology, applied in the field of text knowledge supplementation based on knowledge graph, can solve the problems of imprecise expression, sparse features, lack of context, etc., and achieve the effect of reducing incorrect concepts, effective knowledge supplementation, and accurate text classification

Pending Publication Date: 2022-01-11
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Due to the short length of text in the network, lack of context, and imprecise expression, there are problems such as semantic understanding difficulties and sparse features in text classification processing.
The feature sparsity problem of text can be effectively alleviated by using the knowledge graph. However, in the text knowledge supplement method that introduces external knowledge, there is still the problem of low quality of the introduced knowledge, which leads to the lack of context information in the text and poor semantic understanding.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text knowledge supplementing method and device based on knowledge graph
  • Text knowledge supplementing method and device based on knowledge graph
  • Text knowledge supplementing method and device based on knowledge graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0057] In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and / or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural. The text " / " generally indicates that the contextual objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a text knowledge supplementing method and device based on a knowledge graph, and the method comprises the steps: obtaining and splicing a character vector, a word vector and a subject vector of a text, and inputting the character vector, the word vector and the subject vector into a bidirectional GRU to obtain a hidden state; processing the hidden state by using a self-attention mechanism to obtain a feature matrix, and converting the feature matrix into a feature vector through a pooling layer; calling a knowledge graph to carry out conceptualization processing on the text to obtain a concept set comprising concept vectors; calculating a relation weight between the concept vector and the feature vector; calculating the importance weight of the concept vector in the concept set; and adjusting the corresponding relation weights by using the importance weights, and performing weighted calculation on each concept vector according to the adjusted relation weights to obtain concept set features so as to perform knowledge supplement on the text through the concept set features. According to the method, the text features are expanded from the aspects of character granularity, word granularity and text granularity, and the deficiency of text context information is made up by means of the knowledge graph.

Description

technical field [0001] The present application relates to the field of natural language processing, in particular to a method and device for supplementing text knowledge based on knowledge graphs. Background technique [0002] Text classification is a widely used natural language processing technique. Using text classification, you can quickly mine the hidden information in the massive texts on the Internet, and it is widely used in information retrieval, question answering systems, dialogue systems and other fields. [0003] Due to the short length of text in the network, lack of context, and imprecise expression, there are problems such as difficulty in semantic understanding and sparse features in text classification processing. The use of knowledge graphs can effectively alleviate the feature sparsity problem of texts. However, in the text knowledge supplement method that introduces external knowledge, there is still the problem of low quality of the introduced knowledg...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F40/279G06F40/284G06F40/44G06F16/36G06N3/04G06N3/08
CPCG06F40/279G06F40/284G06F40/44G06F16/367G06N3/08G06N3/045
Inventor 吴天博王健宗
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products