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 special data processing applications, instruments, electronic digital data processing, etc., can solve the problems of low accuracy and low text comparison efficiency, achieve high accuracy, scientific and reasonable judgment results, and economical The effect of processing time

Active Publication Date: 2018-06-15
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 11 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

[0019] 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.

[0020] 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.

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

[0022] 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 present invention provides a text comparison method and a text comparison device, which are helpful to solve the technical problems that in the prior art, the text comparison efficiency is low andthe accuracy is not high. The text comparison method comprises: calculating a Hamming distance between a first text and a second text; if the Hamming distance is less than a preset Hamming distance threshold, using a cosine algorithm to calculate a cosine value between the first text and the second text; and according to the cosine value of the cosine value and the Hamming distance, determining the degree of similarity between the first text and the second text by a preset rule, and then issuing a corresponding prompt message according to the degree of similarity.

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 Applications(China)
IPC IPC(8): G06F17/22
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