Natural language inference method and device fused with semantic analysis

A technology of semantic analysis and natural language, applied in the field of language recognition, can solve problems such as model judgment errors, no obvious difference, and failure to find the value of two paragraphs of text, so as to improve applicability and accuracy

Active Publication Date: 2022-04-29
南京云问网络技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above methods rely heavily on transformation rules, some of which come from the knowledge base and some from the corpus
In addition, traditional natural language inference methods, such as text similarity, cannot find the difference between the numerical comparisons of two texts when given a premise and associated ...

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 inference method and device fused with semantic analysis
  • Natural language inference method and device fused with semantic analysis
  • Natural language inference method and device fused with semantic analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] It is easy to understand that, according to the technical solution of the present invention, those skilled in the art can propose multiple structural modes and implementation modes that can be replaced without changing the essence and spirit of the present invention. Therefore, the following specific embodiments and drawings are only exemplary descriptions of the technical solution of the present invention, and should not be regarded as the entirety of the present invention or as a limitation or restriction on the technical solution of the present invention.

[0026] According to an embodiment of the present invention combined with figure 1 show. A natural language inference method that integrates semantic analysis, comprising the following steps:

[0027] S101. Obtain a premise T and its corresponding hypothesis Q.

[0028] For example: the premise T is "The on-line monitoring device for dissolved gas in transformer oil requires regular routine calibration, and the c...

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 inference method and device fused with semantic analysis. The method comprises the following steps: acquiring a premise T and a corresponding hypothesis Q; respectively carrying out semantic analysis on the premise T and the hypothesis Q to obtain a plurality of features; carrying out unification and feature fusion on the plurality of features to obtain a fusion feature input; and inputting the fusion feature input into a JudgeNLIModel model, and outputting an answer corresponding to the hypothesis. According to the method, natural language understanding is combined, and specific features in the premise and the hypothesis are extracted, so that the relation between the premise and the hypothesis is deduced, the accuracy of natural language deduction is improved, and an improved reference direction is provided for a subsequent natural language deduction method.

Description

technical field [0001] The present invention relates to the technical field of language recognition, in particular to a natural language inference method and device integrated with semantic analysis. Background technique [0002] Natural Language Inference (NLI), also known as textual entailment recognition, is one of the most important problems in natural language processing, which requires inferring the logical relationship between two given sentences. The task is given two sentences, called premises and assumptions, and the goal is to determine whether the logical relationship between them is necessary, neutral, or contradictory. [0003] Traditional natural language inference methods include text similarity, text alignment, logical calculation, and text conversion. Text similarity is to calculate the similarity between the premise and the hypothesis to determine whether they constitute an implication relationship; text alignment is to align the similar parts of the prem...

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/30G06K9/62
CPCG06F40/30G06F18/253G06F18/214
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