Improved algorithms for approximate string matching (extended abstract).
BACKGROUND
The problem of approximate string matching is important in many different areas such as computational biology, text processing and pattern recognition. A great effort has been made to design efficient algorithms addressing several variants of the problem, including comparison of two strings, approximate pattern identification in a string or calculation of the longest common subsequence that two strings share.


RESULTS
We designed an output sensitive algorithm solving the edit distance problem between two strings of lengths n and m respectively in time O((s - |n - m|).min(m, n, s) + m + n) and linear space, where s is the edit distance between the two strings. This worst-case time bound sets the quadratic factor of the algorithm independent of the longest string length and improves existing theoretical bounds for this problem. The implementation of our algorithm also excels in practice, especially in cases where the two strings compared differ significantly in length.


CONCLUSIONS
We have provided the design, analysis and implementation of a new algorithm for calculating the edit distance of two strings with both theoretical and practical implications. Source code of our algorithm is available online.
Papamichail
Dimitris
D
Department of Computer Science, University of Miami, Coral Gables, Miami, USA. dimitris@cs.miami.edu
Papamichail
Georgios
G
D000465:Algorithms; D019295:Computational Biology / Q000379:methods*; D016247:Information Storage and Retrieval; D016415:Sequence Alignment