Entity relationship classification model construction method and device and storage medium

An entity relationship and construction method technology, applied in the field of data processing, can solve the problems of single feature expression and low feature expression ability, and achieve the effect of improving the sense of location information and improving the effect of relationship classification.

Inactive Publication Date: 2021-06-11
TAIYUAN UNIV OF TECH
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problem of relatively single feature expression and low feature expression ability in the prior art relationship classification, the present invention provides a model construction method, equipment and storage medium for entity relationship classification

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
  • Entity relationship classification model construction method and device and storage medium
  • Entity relationship classification model construction method and device and storage medium
  • Entity relationship classification model construction method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0033] combine Figure 1-2 As shown, the present invention provides a method for constructing a model of entity relationship classification, comprising the following steps:

[0034] S1: Obtain network text data. The model only uses the original text as input instead of background knowledge or syntactic features as auxiliary information. First, ob...

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 relates to the field of data processing, and discloses an entity relationship classification model construction method and device and a storage medium, and the method comprises the steps: obtaining web text data; performing word segmentation and dependency syntactic analysis on text sentences, and extracting preprocessing of a plurality of features; enabling the training word vector vocabulary to input a plurality of features into an Embedding layer for training, and mapping the features into low-dimensional vector representation; inputting the low-dimensional vector representation of the sentence into a Bi-GRU layer for training; carrying out multiple times of self-attention calculation on all moment output vectors trained by the Bi-GRU layer by utilizing a Multi-headattention layer to obtain features of more layers in different representation subspaces, so as to obtain more context information of sentences; and extracting text information and position information of keywords in the entity relationship classification task through the capsule network layer, and classifying the entity relationship through the length of a capsule vector. According to the method, entity and position information can be utilized more effectively through the entity relationship classification model provided by combining Multi-headtention and a capsule network, the relationship classification effect is improved, and the position information sense is improved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a model building method, equipment and storage medium for entity relationship classification. Background technique [0002] Relation classification is an important task in the field of natural language processing, which can provide technical support in building knowledge graphs, question answering systems, and information retrieval. Most of the previous models use a single-layer attention mechanism, the feature expression is relatively single, and the feature expression ability is low. Therefore, in order to solve the problem of single feature expression, the present invention conducts further research and development on the existing basis, and introduces a method based on autonomous attention. The multi-head attention mechanism of the mechanism learns multiple mappers, and then obtains more levels of information from different dimensions and different subspaces to express features...

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): G06F16/28G06F40/211G06F40/284G06F40/30
CPCG06F16/285G06F16/288G06F40/211G06F40/284G06F40/30
Inventor 李灯熬赵菊敏王薇
Owner TAIYUAN UNIV OF TECH
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