Approximate string matching with k differences Sequence comparison Basic Problem
Next: Approximate string matching Up: Sequence comparison Previous: Basic Problem

Levenshtein Distance

If the following values are considered: Then T[m-1,n-1] represents the Levenshtein distance ([10]) between x and y.

Example :
x = YHCQPGK and y = LAHYQQKPGKA

This gives the six following alignments:

which correspond to the six minimum cost paths between (-1,-1) and (6,10):



Approximate string matching with k differences Sequence comparison Basic Problem
Next: Approximate string matching Up: Sequence comparison Previous: Basic Problem

e-mails: {Christian.Charras, Thierry.Lecroq}@laposte.net
Thu Feb 19 10:23:29 WET 1998