Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Text similarity calculation method and device, electronic equipment and storage medium

A text similarity and similarity calculation technology, applied in computing, computer parts, neural learning methods, etc., can solve the problem of low calculation accuracy, and achieve the solution of uniform distribution of word segment vectors, accurate determination, and improved accuracy. Effect

Pending Publication Date: 2022-01-04
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current calculation method is often not very accurate

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 similarity calculation method and device, electronic equipment and storage medium
  • Text similarity calculation method and device, electronic equipment and storage medium
  • Text similarity calculation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0053] It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, it can be executed in a different order than the module division in the device or the flowchart in the flowchart. steps shown or described. The terms "first", "second" and the like in the specification and claims and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence.

[0054] Unless otherwise defined, all technical and scientific te...

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 similarity calculation method and device, electronic equipment and a storage medium, and belongs to the technical field of artificial intelligence. The method comprises the steps of: acquiring a to-be-calculated original text; performing word segmentation processing on the original text by utilizing a pre-trained text word segmentation model to obtain a plurality of text word segments; performing position identification on each text word segment by utilizing a pre-trained target word library model to obtain a target position of each text word segment; performing coding processing on each text word segment according to the target position to obtain a text word segment vector; inputting the text word segment vector into a pre-trained comparison model so as to perform matrix multiplication on the text word segment vector and a reference word embedding matrix in the comparison model, thus obtaining a target word embedding vector; and performing similarity calculation on the plurality of target word embedding vectors to obtain a similarity value between every two text word segments. According to the embodiment of the invention, the correlation between the text word segments can be calculated more accurately.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, and in particular to a text similarity calculation method, device, electronic equipment and storage medium. Background technique [0002] With the development of computer technology, many businesses need to use computer technology for natural language processing, such as search engines, intelligent services, etc. When doing natural language processing, the calculation of text similarity is usually performed. However, the current calculation methods are often not very accurate. Therefore, how to provide a calculation method to improve the accuracy of text similarity calculation has become an urgent technical problem to be solved. Contents of the invention [0003] The main purpose of the embodiments of the present application is to provide a text similarity calculation method, device, electronic equipment and storage medium, aiming at improving the accuracy of text si...

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/284G06K9/62G06N3/04G06N3/08
CPCG06F40/284G06N3/084G06N3/045G06F18/22G06F18/214
Inventor 舒畅陈又新
Owner PING AN TECH (SHENZHEN) 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
Eureka Blog
Learn More
PatSnap group products