Fuzzy keyword query method and system based on weighing edit distance
A technology of editing distance and query method, which is applied in the field of keyword query and search, can solve the problems of considering the error probability of distance, easy to be wrongly inputted, and wrongly input of adjacent keys, etc., to achieve the effect of high time efficiency and interactivity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0126] Suppose q is the query entered by the user, k is the maximum number of results returned by the system to the user, δ represents the threshold of the edit distance between all returned results and q, η represents the basic weight of the weighted edit distance, and W is the Set, TR represents the Trie tree built on W.
[0127] The specific method flow is as follows:
[0128] ①Assume that are stored in sets P and P′. Among them, t represents a node on the Trie tree, and also represents a corresponding prefix string; ed represents the edit distance; wed represents the weighted edit distance. Initialize P={|t∈W^length(t)≤δ^ξ←length(t)^θ←length(t)*(1-η)}, where length(t) means the length of the string t, Variable i ← 1.
[0129] ②If the length of the string q is less than i, go to ⑦; otherwise, set c←q[i], go to ③.
[0130] ③If P is empty, go to ⑥; otherwise, go to ④
[0131] ④ Take an element from P, and delete the element from P. If ξ to P' (delete operation). Fo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com