A text relationship extraction method and system based on a hierarchical knowledge graph attention model

An attention model and knowledge map technology, applied in the field of text relation extraction based on the layered knowledge map attention model, can solve the problems of feature engineering errors, affecting the accuracy of extraction, error propagation and accumulation, etc.

Active Publication Date: 2019-06-18
北京学测星教育科技有限公司
View PDF4 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Although the current relationship extraction method using remote supervision has achieved good results, the problem of wrong labels generated during the alignment process has always been troubled.
[0008] Traditional models of remote supervision rely heavily on experts in specific knowledge fields to manually design features, or use natural language processing (NLP) annotations such as part-of-speech tagging and syntactic analysis to provide classification features. Obviously, manual design of features is too time-consuming and laborious, and NLP tools often exist Many errors, such as named entity recognition (NER), dependency analysis, etc., the more feature engineering will bring more errors, the propagation and accumulation of errors will occur in the pipeline of the entire task, and ultimately affect the accuracy of subsequent relationship extraction

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
  • A text relationship extraction method and system based on a hierarchical knowledge graph attention model
  • A text relationship extraction method and system based on a hierarchical knowledge graph attention model
  • A text relationship extraction method and system based on a hierarchical knowledge graph attention model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0095] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation manners of the present invention will now be described in detail with reference to the accompanying drawings.

[0096] Embodiments of the present invention provide a text relation extraction method and system based on a layered knowledge graph attention model.

[0097] Please refer to figure 1 , figure 1 It is a flow chart of a text relation extraction method based on hierarchical knowledge map attention model in an embodiment of the present invention, specifically including the following steps:

[0098] S101: Select a training text set according to the text to be processed; wherein, the training text set includes all head entities and tail entities of the text to be processed;

[0099] In the embodiment of the present invention, the training text set selects New York Time 60k (NYT 60k);

[0100] S102: Select a knowledge map...

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 invention provides a text relation extraction method and system based on a hierarchical knowledge graph attention model, and the method comprises the steps: firstly selecting a training text set and a knowledge graph according to a to-be-processed text, and carrying out the preprocessing of the training text set and the knowledge graph; Then constructing a hierarchical knowledge map attentionmodel, and training the model by using the preprocessed training text; And finally, marking the head entities and the tail entities of all sentences in the to-be-processed text, and inputting the marked to-be-processed text into the trained hierarchical knowledge map attention model to obtain a relation result. The method has the advantages that the hierarchical knowledge graph attention model isprovided according to the technical scheme, the knowledge graph is used for representing the weights of sentences and words distributed to the model, the accuracy rate and the recall rate of relationprediction of the model are improved, and then the extraction accuracy of text relations is improved.

Description

technical field [0001] The present invention relates to the field of relation extraction, in particular to a text relation extraction method and system based on a layered knowledge map attention model. Background technique [0002] Knowledge bases provide effective structured information for real-world facts and are used as key resources by many natural language processing (NLP) tasks such as web search and knowledge question answering. Typical knowledge graphs include Freebase, DBpedia and YAGO. Since the facts in the real world are arguably endless and growing every day, existing knowledge graphs are far from complete. Therefore, the task of information extraction is valued by more and more people. [0003] Information extraction aims to extract structured information from large-scale unstructured or semi-structured natural language texts. Relation extraction is one of the important sub-tasks, the main purpose is to extract the semantic relationship between entity pairs...

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): G06F16/35G06F16/36
Inventor 李新川镇诗奇李圣文梁庆中郑坤姚宏刘超董理君康晓军
Owner 北京学测星教育科技有限公司
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