BEVA
Xiaoling Zhou, Jianbin Qin, Chuan Xiao et al. · ACM Transactions on Database Systems · 2016
Query autocompletion has become a standard feature in many search applications, especially for search engines. A recent trend is to support theerror-tolerant autocompletion, which increases the usability significantly by matching prefixes of database strings and allowing a small number of errors. In this article, we systematically study the query processing problem for error-tolerant autocompletion with a given edit distance threshold. We propose a general framework that encompasses existing methods and characterizes different classes of algorithms and the minimum amount of information they need to maintain under different constraints. We then propose a novel evaluation strategy that achieves the minimum active node size by eliminating ancestor-descendant relationships among active nodes entirely. In addition, we characterize the essence of edit distance computation by a novel data structure namededit vector automaton(EVA). It enables us to compute new active nodes and their associated states efficiently by table lookups. In order to support large distance thresholds, we devise a partitioning scheme to reduce the size and construction cost of the automaton, which results in theuniversal partitioned EVA(UPEVA) to handle arbitrarily large thresholds. Our extensive evaluation demonstrates that our proposed method outperforms existing approaches in both space and time efficiencies.
Cited by 5 works. doi:10.1145/2877201
Authors
References
- A general method applicable to the search for similarities in the amino acid sequence of two proteins
- On the Theory and Computation of Evolutionary Distances
- The String-to-String Correction Problem
- Algorithms for approximate string matching
- A guided tour to approximate string matching
- A faster algorithm computing string edit distances
- Finding approximate patterns in strings
- A fast bit-vector algorithm for approximate string matching based on dynamic programming
- Approximate String Joins in a Database (Almost) for Free
- Speech discrimination by dynamic programming