Text matching method and text matching system

A matching method and text technology, applied in the computer field, can solve problems such as complex calculation process, many calculation steps, generalization ability, etc., and achieve the effect of simplifying the calculation process, saving calculation steps and saving calculation time

Pending Publication Date: 2020-09-22
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The single semantic model uses multi-class perceptron (MLP), convolutional neural network (CNN) or recurrent neural network (RNN) to encode sentences into feature vectors, and then calculates the matching degree between two sentences based on feature vectors, without considering The local structure of similar phrases in the sentence; the multi-semantic model interprets the sentence from the perspective of multi-granularity (sub, word, phrase and long sentence), but the calculation is complicated; the matching matrix model takes more into account the interaction of different words between the sentences to be matched , to calculate the matching degree between two pairs, and then use the deep network to extract features. The connection between words, the calculation steps are more, the efficiency is low
[0005] Therefore, the inventor believes that the above-mentioned text matching method has great limitations. The model based on deep learning has complex models, difficult parameter adjustment, is not portable enough for deployment, and has generalization ability when the amount of labeled data is limited. , the problem of low matching efficiency

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
  • Text matching method and text matching system
  • Text matching method and text matching system
  • Text matching method and text matching system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The present invention is described below based on examples, but the present invention is not limited to these examples. In the following detailed description of the invention, some specific details are set forth in detail. The present invention can be fully understood by those skilled in the art without the description of these detailed parts. In order to avoid obscuring the essence of the present invention, well-known methods, procedures, and flow charts are not described in detail. Additionally, the drawings are not necessarily drawn to scale.

[0064] figure 1 A flow chart of the text matching method in the embodiment of the present invention is shown, and the specific steps include S101-S104.

[0065] In step S101, a first text vector corresponding to a target text and a second text vector corresponding to a source text are obtained respectively.

[0066] In step S102, the cosine similarity between the first text vector and the second text vector is calculated. ...

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 embodiment of the invention provides a text matching method and a text matching system. The text matching method comprises the following steps: respectively acquiring a first text vector corresponding to a target text and a second text vector corresponding to a source text; calculating cosine similarity of the first text vector and the second text vector; screening the source texts according to the cosine similarity, generating a text set by using the screened source texts, and representing each candidate text in the text set by using a third text vector; and respectively calculating various similarities between each third text vector and the first text vector and the fusion similarity of the various similarities, and selecting the candidate text corresponding to the third text vectorwith the maximum fusion similarity as the prediction text most matched with the target text. According to the method, the cosine similarity of the text vectors of the target text and the source text is calculated, the text set is generated according to the cosine similarity, and the prediction text is selected by fusing the similarity, so that the matching steps and the calculation amount are reduced, and the matching efficiency and precision are improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a text matching method and a text matching system. Background technique [0002] Text matching is an important natural language technology. Many tasks can be abstracted as text matching problems. For example, in question answering systems and search engines, there are a large number of scenarios that need to match similar or even identical texts in multiple source texts according to the target text. With the rapid growth of text data sets, the computational complexity of text matching algorithms is also increasing. However, in practical application scenarios, computing resources are limited, and it is often difficult to balance the accuracy and real-time performance of text matching algorithms. [0003] Existing text matching algorithms such as deep text matching algorithms can be divided into four types: single semantic model, multi-semantic model, matching matrix model and d...

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/30G06F16/33
Inventor 文宏雕
Owner BEIJING JINGDONG SHANGKE INFORMATION 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