DocumentCode :
1366739
Title :
Tries for approximate string matching
Author :
Shang, H. ; Merrettal, T.H.
Author_Institution :
Replication Server Eng., Sybase Inc., Emeryville, CA, USA
Volume :
8
Issue :
4
fYear :
1996
fDate :
8/1/1996 12:00:00 AM
Firstpage :
540
Lastpage :
547
Abstract :
Tries offer text searches with costs which are independent of the size of the document being searched, and so are important for large documents requiring spelling checkers, case insensitivity, and limited approximate regular secondary storage. Approximate searches, in which the search pattern differs from the document by k substitutions, transpositions, insertions or deletions, have hitherto been carried out only at costs linear in the size of the document. We present a trie based method whose cost is independent of document size. Our experiments show that this new method significantly outperforms the nearest competitor for k=0 and k=1, which are arguably the most important cases. The linear cost (in k) of the other methods begins to catch up, for our small files, only at k=2. For larger files, complexity arguments indicate that tries will outperform the linear methods for larger values of k. The indexes combine suffixes and so are compact in storage. When the text itself does not need to be stored, as in a spelling checker, we even obtain negative overhead: 50% compression. We discuss a variety of applications and extensions, including best match (for spelling checkers), case insensitivity, and limited approximate regular expression matching
Keywords :
computational complexity; graph theory; string matching; tree data structures; tree searching; word processing; approximate regular expression matching; approximate searches; approximate string matching; best match; case insensitivity; complexity arguments; document size; large documents; linear cost; nearest competitor; search pattern; spelling checkers; text searches; trie based method; Computer science; Costs; Dictionaries; Electronic mail; Keyboards; Random access memory; Read-write memory; Software libraries;
fLanguage :
English
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
1041-4347
Type :
jour
DOI :
10.1109/69.536247
Filename :
536247
Link To Document :
بازگشت