Sentence distance mapping method and device based on machine learning and computer equipment

A machine learning and mapping method technology, applied in the computer field, can solve the problems of low similarity accuracy, can not intuitively reflect the similarity of two sentences, etc., to achieve the effect of intuitive technical effect

Active Publication Date: 2019-05-10
PING AN TECH (SHENZHEN) CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the method in the prior art only uses the word frequency of the same word in two sentences, the accuracy of the calculated similarity is not high
In addition, the degree of similarity calculated by the existing technolo

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
  • Sentence distance mapping method and device based on machine learning and computer equipment
  • Sentence distance mapping method and device based on machine learning and computer equipment
  • Sentence distance mapping method and device based on machine learning and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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, and are not intended to limit the present application.

[0047] refer to figure 1 , the embodiment of the present application provides a sentence distance mapping method based on machine learning, comprising the following steps:

[0048] S1. Obtain the input single-sentence voice information;

[0049] S2. Converting the single-sentence voice information into a single-sentence text information;

[0050] S3. Perform preprocessing on the single-sentence text information, and query a preset word vector database to obtain word vectors corresponding to each word in the pre-processed single-sentence text information, wherein the prep...

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 discloses a sentence distance mapping method and device based on machine learning, computer equipment and a storage medium. The method comprises the steps that input single sentence voice information is acquired; converting the single-sentence voice information into single-sentence text information; preprocessing the single sentence text information, and querying a preset word vectorlibrary to obtain word vectors corresponding to words in the preprocessed single sentence text information; calculating the distance between the single sentence text information and a preset standardsingle sentence by using a preset algorithm according to the word vector corresponding to each word in the single sentence text information; and inputting the distance into a preset function, mappinga score, and training the preset function through training data. Therefore, the similarity between the sentences is accurately calculated, and the technical effect of being more accurate and more visual is achieved.

Description

technical field [0001] The present application relates to the field of computers, in particular to a machine learning-based sentence distance mapping method, device, computer equipment and storage medium. Background technique [0002] In the field of natural language processing, sentence similarity calculation is an important content (that is, to calculate the similarity between two sentences), specifically, it is applied in information retrieval, question answering system, machine translation and other application fields More frequent. However, most of the prior art is cosine similarity to calculate the degree of similarity between two sentences. This method generally counts the word frequency of the same word between two sentences to form a word frequency vector, and then uses the word frequency vector to calculate the similarity between the two sentences. Because the method in the prior art only uses the word frequency of the same word in two sentences, the accuracy of ...

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): G06F17/27G06K9/62
CPCG06F40/247G06F18/00G06F40/35G06F40/237G06F40/279
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
Try Eureka
PatSnap group products