A method and system for quickly retrieving similar strings

A technology of similar characters and strings, applied in the field of information processing, can solve the problems of inability to apply large data volume, high time complexity, and performance that cannot meet commercial requirements, and achieve the effect of improving retrieval efficiency.

Active Publication Date: 2019-01-18
沪江教育科技(上海)股份有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The time complexity of this method in the prior art is extremely high, and in the case of hundreds of thousands of text entries, the performance often cannot meet the commercial requirements
In addition to the nu

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
  • A method and system for quickly retrieving similar strings
  • A method and system for quickly retrieving similar strings
  • A method and system for quickly retrieving similar strings

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The implementations are only some of the implementations of the present application, not all of them. Based on the implementation manners in this application, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0063] see figure 1 , the present application provides a method for quickly retrieving similar character strings, the method comprising:

[0064] S1: Read an existing preset number of text entries, and for each text entry, split the text entry into several phrases, and assign a corresponding weight value to each ph

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 application provides a method and system for quickly retrieving similar strings, wherein the method comprises: reading an existing preset number of text entries, splitting the text entriesinto a plurality of phrases for each text entry, and assigning a corresponding weight value to each phrase; performing hashing operation on the split phrase based on the assigned weight value to obtain a first hash string corresponding to the text entry; performing collapse processing on the first hash string to obtain a second hash string whose length meets a specified condition; a prefix tree is created for the second hash string, and a string similar to a target string is retrieved from the existing preset number of text entries based on the prefix tree. The technical proposal provided bythe application can greatly improve the speed of string retrieval.

Description

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

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
Owner 沪江教育科技(上海)股份有限公司
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