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

Text comparison method and text comparison device

A text comparison and text technology, applied in the direction of instruments, calculations, electrical digital data processing, etc., can solve the problems of low accuracy and low efficiency of text comparison, achieve high accuracy, scientific and reasonable judgment results, and reduce the amount of calculation Effect

Active Publication Date: 2021-05-25
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a text comparison method and a text comparison device, which help to solve the technical problems of low efficiency and low accuracy of text comparison in the prior art

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 comparison method and text comparison device
  • Text comparison method and text comparison device
  • Text comparison method and text comparison device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Exemplary implementations of the present invention are described below in conjunction with the accompanying drawings, which include various details of the implementations of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0024] figure 1 is a schematic flowchart of the main steps of the text comparison method according to the embodiment of the present invention. Such as figure 1 As shown, the text comparison method of this embodiment mainly includes the following steps A to C.

[0025] Step A: Calculate the Hamming distance between the first text and the second text.

[0026] Th...

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 text comparison method and a text comparison device, which help to solve the technical problems of low efficiency and low accuracy of text comparison in the prior art. The text comparison method of the present invention includes: calculating the Hamming distance between the first text and the second text; if the Hamming distance is less than the preset Hamming distance threshold, using the cosine algorithm to calculate the distance between the first text and the second text The cosine value of the first text and the second text are judged according to the cosine value and the Hamming distance according to preset rules, and then a corresponding prompt message is issued according to the similarity level.

Description

technical field [0001] The invention relates to the technical field of a computer and its software, in particular to a text comparison method and a text comparison device. Background technique [0002] In Internet technology and big data technology, text similarity comparison is often used. For example, in the search results page of a search engine, in order to remove duplicates, the same and similar text comparison will be used; in the product display page of an online shopping mall, in order to judge whether the products are the same or similar products, you can use the same and similar product description text In data mining and data analysis, it is often necessary to use text similarity comparison to judge the similarity between two or more different texts to achieve the corresponding application purpose. Among the existing text similarity query algorithms, the more famous ones are the cosine calculation method and the simhash algorithm proposed by Google. [0003] In ...

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 Patents(China)
IPC IPC(8): G06F40/194
CPCG06F40/194
Inventor 方琪
Owner BEIJING JINGDONG SHANGKE INFORMATION 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