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

Method and apparatus 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: 2016-06-22
HUAWEI TECH CO LTD
View PDF3 Cites 2 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 apparatus for determining semantic matching degree
  • Method and apparatus for determining semantic matching degree
  • Method and apparatus 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 invention provides a method and an apparatus for determining a semantic matching degree. The method comprises the steps of obtaining a first statement and a second statement; dividing the first statement and the second statement into x and y statement segments respectively; performing convolution operation on a word vector in each statement segment of the first statement and a word vector in each statement segment of the second statement to obtain a three-dimensional tensor; combining and / or screening adjacent vectors in one-dimensional vectors in x rows and y columns until the three-dimensional tensors are combined into a one-dimensional target vector; and according to the target vector, determining the semantic matching degree of the first statement and the second statement. According to embodiments of the invention, the to-be-matched statements are divided into the statement segments taking the word vectors as units according to a word order; the statement segments in the two statements are subjected to the convolution operation in pairs to obtain the three-dimensional tensors, wherein each three-dimensional tensor comprises local matching information of the statement segments of each statement; and a semantic matching result obtained based on the three-dimensional tensors 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 Applications(China)
IPC IPC(8): G06F17/30G06F17/27
CPCG06F16/36G06F40/30G06F40/284G06N3/045
Inventor 吕正东李航
Owner HUAWEI TECH CO LTD
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