Natural language reasoning method and system based on syntactic alignment

A technology of natural language and reasoning method, applied in the field of natural language reasoning based on syntactic alignment, can solve problems such as inability to effectively use syntactic structure information, and achieve the effects of good portability, enhanced accuracy, and improved accuracy.

Pending Publication Date: 2022-03-01
SHANGHAI JIAO TONG UNIV
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned related technologies, the inability of the inventor to effectively utilize the syntactic structure information is a major existing problem

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
  • Natural language reasoning method and system based on syntactic alignment
  • Natural language reasoning method and system based on syntactic alignment
  • Natural language reasoning method and system based on syntactic alignment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be pointed out that those skilled in the art can make many changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0052] The present invention provides a natural language reasoning method based on syntactic alignment, comprising the following steps:

[0053] Step 1: Word division step: given multiple sentence pairs, combined with the meaning of the words in the sentence, divide the words to obtain tokens, and encode them to obtain word vector features.

[0054] Step 2: Analyze the dependency relationship of the sentence through the dependency analyzer to obtain the dependency relationship between words, and corr...

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 natural language reasoning method and system based on syntactic alignment, and the method comprises the steps: giving a plurality of sentence pairs, dividing words to obtain tokens, and carrying out the coding to obtain word vector features; analyzing the dependency relationship of the sentences through a dependency analyzer to obtain the dependency relationship among the words, and enabling the tokens to correspond to the words; establishing a dependency capturing module, and capturing enhanced representation of syntactic features in sentences; constructing an attention mechanism network, and updating structured features of sentences; taking the structured features as a classification basis to obtain a prediction result; deviation is obtained through calculation of a loss function of the model, and the model is corrected. The natural language reasoning method based on syntactic alignment is adopted, different dependency relationships between words are coded based on the graph network, and compared with a traditional method, the importance of the relationships can be distinguished. Therefore, words input into the model can contain more semantic information after being enhanced by the syntactic context features.

Description

technical field [0001] The present invention relates to the technical field of natural language reasoning, in particular to a method and system for natural language reasoning based on syntactic alignment. Background technique [0002] In recent years, research on natural language processing has continued to deepen. As one of the basic branches, natural language reasoning has emerged with many relatively novel and effective methods. Among them, syntactic features are useful information that has been widely verified. Past research has mainly focused on encoding through tree-like networks and graph-like networks. However, these methods often ignore the unique role of syntactic relationship types and treat all syntactic relationships equally. . [0003] It was found that the Chinese patent of the existing patent document CN112667818A discloses a user comment sentiment analysis method and system that integrates GCN and multi-granularity attention, which uses a syntactic dependen...

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/211G06F16/35G06N5/04G06N3/04G06N3/08
CPCG06F40/289G06F40/211G06F16/35G06N5/04G06N3/08G06N3/045
Inventor 蒋兴建张月国回红孙锬锋
Owner SHANGHAI JIAO TONG UNIV
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