Approximate string matching using withinword parallelism
Alden H. Wright · Software Practice and Experience · 1994
Abstract Given a text string, a pattern string, and an integer k, the problem of approximate string matching with k differences is to find all substrings of the text string whose edit distance from the pattern string is less than k. The edit distance between two strings is defined as the minimum number of differences, where a difference can be a substitution, insertion, or deletion of a single character. An implementation of the dynamic programming algorithm for this problem is given that packs several characters and mod‐4 integers into a computer word. Thus, it is a parallelization of the conventional implementation that runs on ordinary processors. Since a small alphabet means that characters have short binary codes, the degree of parallelism is greatest for small alphabets and for processors with long words. For an alphabet of size 8 or smaller and a 64 bit processor, a 21‐fold parallelism over the conventional algorithm can be obtained. Empirical comparisons to the basic dynamic programming algorithm, to a version of Ukkonen's algorithm, to the algorithm of Galil and Park, and to a limited implementation of the Wu‐Manber algorithm are given.
Cited by 27 works. doi:10.1002/spe.4380240402
Authors
References
- A general method applicable to the search for similarities in the amino acid sequence of two proteins
- Time Warps, String Edits, and Macromolecules: The Theory and Practice of Sequence Comparison
- The theory and computation of evolutionary distances: Pattern recognition
- Fast text searching
- Algorithms for approximate string matching
- Finding approximate patterns in strings
- Fast parallel and serial approximate string matching
- A new approach to text searching
- On approximate string matching
- Fast string matching with k differences