Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Relationship extraction method and device based on tree-type capsule network

A technology of capsule and network, applied in the field of relation extraction method and device based on tree-type capsule network, which can solve the problems of poor representation quality and low accuracy, and achieve the effect of improving accuracy

Active Publication Date: 2020-10-23
BEIJING UNIV OF POSTS & TELECOMM
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The relationship extraction method based on the neural network model depends on the representation quality of the instance, and due to the complexity of natural language, the semantics of the entity that the vector can represent is limited, so the representation quality of the instance represented by the vector is poor, making the use of the neural network model The accuracy of relation extraction is low

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
  • Relationship extraction method and device based on tree-type capsule network
  • Relationship extraction method and device based on tree-type capsule network
  • Relationship extraction method and device based on tree-type capsule network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0067] In order to improve the accuracy of relation extraction, an embodiment of the present invention provides a relation extraction method based on a tree capsule network, which can be applied to electronic devices, wherein the electronic devices can be mobile phones, computers, tablet computers, etc. with data processing capabilities device of. Such as figure 1 As shown, the method includes the following steps.

[0068] Step 101, using a sequence encoder ...

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 relationship extraction method and device based on a tree-type capsule network, relates to the field of character processing, and can improve the accuracy ofrelationship extraction. According to the technical scheme, the method comprises the steps that all words in a text to be recognized are encoded through a sequence encoder, a word vector matrix is obtained, and the word vector matrix comprises word vectors obtained after all the words are encoded; and splicing the embedded representations of the two specified entities in the to-be-identified textand the embedded representation of the to-be-identified text to serve as sequence sentence embedded representations. Wherein the phrase structure tree of the to-be-recognized text is encoded by utilizing the tree-type capsule network to obtain a structure sentence embedding representation, the phrase structure tree is used for representing a syntactic structure of the to-be-recognized text, and each leaf node of the phrase structure tree corresponds to one word of the to-be-recognized text. And determining a relationship category between the two specified entities according to the sequence sentence embedding representation and the structure sentence embedding representation.

Description

technical field [0001] The present invention relates to the technical field of word processing, in particular to a relation extraction method and device based on a tree-type capsule network. Background technique [0002] Relational extraction refers to extracting the relationship between two entities in a sentence, where entities refer to words that represent real things. Generally speaking, words in knowledge bases such as Wikipedia or Baidu Encyclopedia can be called for entities. For example: the entities in the sentence The winery includes a large garden are winery and garden. [0003] The current common relationship extraction method is: input the vectors of two entities in the sentence into the neural network model, and the neural network model predicts the relationship between the two entities. [0004] The relationship extraction method based on the neural network model depends on the representation quality of the instance, and due to the complexity of natural lang...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/289G06F40/211G06F40/126G06F16/31G06F16/36
CPCG06F40/289G06F40/211G06F40/126G06F16/322G06F16/367Y02D10/00
Inventor 石川胡琳梅杨天持
Owner BEIJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products