Abstract
We engineer an algorithm to solve the approximate dictionary matching problem. Given a list of words \(\mathcal{W}\), maximum distance d fixed at preprocessing time and a query word q, we would like to retrieve all words from \(\mathcal{W}\) that can be transformed into q with d or less edit operations. We present data structures that support fault tolerant queries by generating an index. On top of that, we present a generalization of the method that eases memory consumption and preprocessing time significantly. At the same time, running times of queries are virtually unaffected. We are able to match in lists of hundreds of thousands of words and beyond within microseconds for reasonable distances.
Partially supported by DFG Grant 933/5-1. A full version of the paper is available at http://arxiv.org/abs/1008.1191 . We would like to thank Johannes Fischer for the fruitful discussions and the anonymous referees for the detailed reviews.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Baeza-Yates, R., Navarro, G.: Fast approximate string matching in a dictionary. In: SPIRE (1998)
Burkhard, W.A., Keller, R.M.: Some approaches to best-match file searching. Commun. ACM 16, 230–236 (1973)
Chávez, E., Navarro, G., Baeza-Yates, R., MarroquÃn, J.L.: Searching in metric spaces. ACM Comput. Surv. 33, 273–321 (2001)
Cole, R., Gottlieb, L.A., Lewenstein, M.: Dictionary matching and indexing with errors and don’t cares. In: 36th ACM Symposium on Theory of Computing (2004)
Russo, L.M.S., Navarro, G., Oliveira, A.L., Morales, P.: Approximate string matching with compressed indexes. Algorithms 2(3), 1105–1136 (2009)
Mihov, S., Schulz, K.U.: Fast approximate search in large dictionaries. Comput. Linguist. 30, 451–477 (2004)
Chan, H.L., Lam, T.W., Sung, W.K., Tam, S.L., Wong, S.S.: Compressed indexes for approximate string matching. Algorithmica (2008)
Burkhardt, S., Kärkkäinen, J.: Better filtering with gapped q-grams. Fundamenta Informaticae (2001)
Bocek, T., Hunt, E., Stiller, B.: Fast similarity search in large dictionaries. Technical report, Universität Zürich (2007), http://fastss.csg.uzh.ch/
Mor, M., Fraenkel, A.S.: A hash code method for detecting and correcting spelling errors. ACM Commun. 25, 935–938 (1982)
Motwani, G., Nair, S.G.: Search efficiency in indexing structures for similarity searching. CoRR cs.DB/0403014 (2004)
Hyyrö, H., Fredriksson, K., Navarro, G.: Increased bit-parallelism for approximate string matching. ACM Journal of Experimental Algorithmics 10 (2005)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Karch, D., Luxen, D., Sanders, P. (2010). Improved Fast Similarity Search in Dictionaries. In: Chavez, E., Lonardi, S. (eds) String Processing and Information Retrieval. SPIRE 2010. Lecture Notes in Computer Science, vol 6393. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16321-0_16
Download citation
DOI: https://doi.org/10.1007/978-3-642-16321-0_16
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-16320-3
Online ISBN: 978-3-642-16321-0
eBook Packages: Computer ScienceComputer Science (R0)