A text semantic analysis method and device

A semantic parsing and text technology, applied in special data processing applications, instruments, electronic digital data processing, etc., can solve the problem of low accuracy of semantic parsing methods, achieve rich semantic representation, speed up calculation convergence speed, accuracy and efficiency improved effect

Active Publication Date: 2019-05-10
安徽省泰岳祥升软件有限公司
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a text semantic analysis method and device to

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 semantic analysis method and device
  • A text semantic analysis method and device
  • A text semantic analysis method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to enable those skilled in the art to better understand the technical solutions in the present invention, 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 The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0040] In order to facilitate the understanding of the scheme of this application, the following briefly introduces several related concepts such as convolution, transposed convolution, and attention mechanism in the neural network.

[0041] The input of a natural language processing task is a piece of text. The text is generated by re...

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 discloses a text semantic analysis method and device, and the method comprises the steps: obtaining the vector representation of a given text, and generating a coding vector of the giventext according to the vector representation; wherein the given text comprises a first text and a second text; wherein the coding vectors comprise a first coding vector and a second coding vector; generating a first attention and a second attention according to the first coding vector and the second coding vector, and generating a global information vector according to the first attention and thesecond attention; obtaining a semantic enhancement vector from the global information vector; and analyzing a target text corresponding to the second text in the first text according to the semantic enhancement vector. Compared with the prior art, the technical scheme of the invention has the advantages that the semantic enhancement vector is acquired from the global information vector, and the target text corresponding to the second text in the first text is analyzed according to the semantic enhancement vector, so that the semantic representation of the vector on the text is enriched, the calculation convergence speed is increased, and the accuracy and the efficiency are improved.

Description

technical field [0001] The present application relates to the technical field of natural language processing, in particular to a text semantic analysis method and device. Background technique [0002] Machine reading comprehension is a hot research direction of artificial intelligence at present. The task of machine reading comprehension refers to a given text sentence (context) and a corresponding query sentence (query), and then the machine reads the text sentence and query sentence to parse out the corresponding s answer. [0003] In the prior art, the answer corresponding to the query sentence is determined by analyzing the semantics of the text sentence and the query sentence. Wherein, the answer needs to be a paragraph (also can be understood as several consecutive words) that can be found in the article sentence, and the ultimate goal of reading comprehension is to determine two subscripts, corresponding to the answer in the article sentence respectively. start posi...

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): G06F17/27G06K9/62
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