Fuzzy keyword query method and system based on weighing edit distance
A technology of editing distance and query method, applied in the field of keyword query and search, it can solve the problems of considering the error probability, easy to be wrongly inputted, and wrongly input of adjacent keys in the case of distance, so as 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
[0124] 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.
[0125] The specific method flow is as follows:
[0126] ①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.
[0127] ②If the length of the string q is less than i, go to ⑦; otherwise, set c←q[i], go to ③.
[0128] ③If P is empty, go to ⑥; otherwise, go to ④
[0129] ④ Take an element from P, and delete the element from P. If ξ to P' (delete operation). Fo...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com