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

Statement similarity calculation method and device, and computer equipment

A similarity calculation and similarity technology, which is applied in computer parts, calculation, semantic analysis, etc., can solve the problems of low efficiency and time-consuming calculation of sentence similarity, and achieve the effect of improving the efficiency of sentence similarity calculation and saving time

Active Publication Date: 2020-02-11
普信恒业科技发展(北京)有限公司
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, before calculating the similarity between a target sentence and multiple candidate sentences, it is necessary to splicing the target sentence with each candidate sentence once, which takes a long time and results in low efficiency of sentence similarity calculation.

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
  • Statement similarity calculation method and device, and computer equipment
  • Statement similarity calculation method and device, and computer equipment
  • Statement similarity calculation method and device, and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0069] In the current model-based sentence similarity calculation method, the semantic vector calculation models used are all single-input models, such as the BERT (Bidirectional Encoder Representation from Transformers) model. The single-input model can only receive one input at a time during the calculation process. Therefore, the input data of the single-input model is strongly correlated. Before using the single-input model to calculate the sentence similar...

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 statement similarity calculation method and a device, and computer equipment. The method comprises the steps of inputting at least two statements of which the similarity is tobe calculated into a semantic vector calculation model group, the semantic vector calculation model group comprising at least two semantic vector calculation models, the at least two semantic vectorcalculation models sharing one set of model parameters, and different statements being correspondingly input into different semantic vector calculation models; utilizing any semantic vector calculation model to respectively encode the received sentences into semantic vectors of preset dimensions and inputting the semantic vectors into a similarity calculation model; and converting the semantic vectors of any two preset dimensions into a binary classification vector by utilizing a similarity calculation model, and obtaining the similarity of any two statements according to the binary classification vector. The semantic vector calculation model group is a multi-input model, different statements can be correspondingly input into different semantic vector calculation models, the statement splicing step does not need to be executed, and the statement similarity calculation efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of natural language processing, and more specifically, relates to a sentence similarity calculation method, device and computer equipment. Background technique [0002] In the technical field of natural language processing, the application of calculating the similarity between two sentences is very extensive. In the currently used model-based sentence similarity calculation method, the models used are all single-input models. Before the statement similarity calculation, it is necessary to splice the sentences to be calculated to obtain a spliced ​​sentence. Sentences are input into the model for semantic analysis and then calculation of similarity. Therefore, before calculating the similarity between a certain target sentence and multiple candidate sentences, it is necessary to splice the target sentence with each candidate sentence once, which takes a long time and results in low efficiency of sent...

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/30G06F40/126G06F16/35G06K9/62
CPCG06F16/35G06F18/22Y02D10/00
Inventor 周学阳井玉欣陈甜甜崔妲珅宋忠森
Owner 普信恒业科技发展(北京)有限公司
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