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

Text statement processing method and device, computer equipment and storage medium

A sentence and text technology, applied in natural language data processing, computing, electrical digital data processing, etc., can solve the problems of low accuracy of entity relationship, error accumulation, hindering system performance, etc., and achieve the effect of improving the accuracy of relationship extraction

Pending Publication Date: 2020-11-17
TSINGHUA UNIV +1
View PDF0 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This is easy to cause error accumulation in the process of constructing features, hindering system performance, and resulting in low accuracy of entity relationship extraction in natural language processing tasks

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 statement processing method and device, computer equipment and storage medium
  • Text statement processing method and device, computer equipment and storage medium
  • Text statement processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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.

[0047] The target object detection method provided in this application can be applied to computer equipment. A computer device can be a terminal or a server. It can be understood that the target object detection method provided in the present application can be applied to a terminal, can also be applied to a server, and can also be applied to a system including a terminal and a server, and can be implemented through interaction between the terminal and the server.

[0048] The text sentence processing method provided by this application can be applied to such as figure 1...

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 a text statement processing method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a sample text statement containing an entity pair and a relationship label of the entity pair; extracting a positive example statement pair and a negative example statement pair from the sample text statement according to the relationship label, and performing positive and negative example sampling processing to obtain a training set; inputting the training set into a to-be-trained relationship extraction model, and generating a loss valuecomprising a comparison loss value; wherein the comparison loss value is used for representing the difference between the similarity of the statements in the positive example statement pair and the similarity of the statements in the negative example statement pair; adjusting parameters of the relation extraction model according to the loss value, and returning to the step of extracting the positive example statement pair and the negative example statement pair from the sample text statement according to the relation label, so as to carry out iterative training until a training stop conditionis met, and obtaining the relation extraction model; wherein the relationship extraction model is used for identifying the entity relationship of the entity pair in the text statement. By adopting the method, the entity relationship extraction accuracy can be effectively improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a text statement processing method, device, computer equipment and storage medium. Background technique [0002] With the rapid development of computer technology, natural language processing technology has gradually matured. Among them, relation extraction is an important natural language processing task, which aims to extract structured information from large-scale original texts for question answering systems, dialogue systems, recommendation systems, search engines, etc. With the development of neural network models, more and more relation extraction methods based on feature engineering have emerged. [0003] The current relationship extraction methods usually rely on feature engineering. Most relationship extraction models use the word vector of the entity as the main feature of relationship extraction. When performing relationship extraction, they will overfit ...

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/194
CPCG06F40/279G06F40/194G06F40/30G06F40/166
Inventor 刘知远彭皓高天宇韩旭林衍凯李鹏孙茂松周杰
Owner TSINGHUA UNIV
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