2002 | OriginalPaper | Chapter
A Metric Index for Approximate String Matching
Authors : Edgar Chávez, Gonzalo Navarro
Published in: LATIN 2002: Theoretical Informatics
Publisher: Springer Berlin Heidelberg
Included in: Professional Book Archive
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
We present a radically new indexing approach for approximate string matching. The scheme uses the metric properties of the edit distance and can be applied to any other metric between strings. We build a metric space where the sites are the nodes of the suffix tree of the text, and the approximate query is seen as a proximity query on that metric space. This permits us finding the R occurrences of a pattern of length m in a text of length n in average time O(mlog2n+m2+R), using O(n log n) space and O(n log2n) index construction time. This complexity improves by far over all other previous methods. We also show a simpler scheme needing O(n) space.