Method and device for determining semantic matching degree

A technology of semantic matching degree and to-be-matched, applied in the field of semantic matching, can solve the problem of inaccurate matching results, and achieve the effect of accurate matching results

Active Publication Date: 2019-05-03
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method of overall statement matching expresses all the information of the statement through a vector, often ignoring the impact of the matching degree of local segments between sentences on the final semantic matching result, resulting in inaccurate matching results

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
  • Method and device for determining semantic matching degree
  • Method and device for determining semantic matching degree
  • Method and device for determining semantic matching degree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part 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.

[0034] The method for determining the degree of semantic matching in the embodiment of the present invention can be applied in various semantic matching systems, for example, question answering systems, dialogue systems based on retrieval, and ranking (ranking) systems in machine retrieval, etc., and these systems are collectively referred to below is a generalized reply system.

[0035] In order to facilitate understanding, the following combination figu...

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 present invention provides a method and device for determining semantic matching degree. The method includes: acquiring the first sentence and the second sentence; dividing the first sentence and the second sentence into x and y sentence segments respectively; The word vector in each sentence segment is convolved with the word vector in each sentence segment of the second sentence to obtain a three-dimensional tensor; the adjacent vectors in the x row y column one-dimensional vectors are synthesized and / or screened , until the three-dimensional tensor is combined into a one-dimensional target vector; according to the target vector, the semantic matching degree between the first sentence and the second sentence is determined. In the embodiment of the present invention, according to the word order, the sentences to be matched are divided into sentence segments with the word vector as the unit, and the two sentence segments in the two sentences are convoluted to obtain a three-dimensional tensor, which contains each The local matching information of sentence fragments between sentences, the semantic matching result obtained based on this three-dimensional tensor is more accurate.

Description

technical field [0001] The present invention relates to the field of semantic matching, and more specifically, to a method and device for determining the degree of semantic matching. Background technique [0002] Semantic matching technology has become one of the core technologies of natural language processing, and has played an important role in many commercial systems, for example, voice assistants (such as Siri, Google Now), machine translation (Machine Translation), and chat robots (such as Microsoft Xiaobing) and so on. [0003] In the prior art, each sentence to be matched is usually decomposed into multiple word vectors, and each word vector has a fixed dimension. On this basis, the sentence to be matched is represented by the linear superposition of the word vectors it contains. The degree of semantic matching of two sentences is described as the inner product between the vectors representing the two sentences. [0004] Although the above semantic matching method...

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 Patents(China)
IPC IPC(8): G06F17/27
CPCG06F16/36G06F40/30G06F40/284G06N3/045
Inventor 吕正东李航
Owner HUAWEI TECH CO LTD
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