Levenshtein Distance

Hello!

To view this page you need Microsoft Silverlight 3 plug-in.
Silverlight will enable your browser to understand complex Rich Internet Applications.
After installing (~10 seconds), you will be able to view and execute live algorithms.

Click here to download the plugin directly from Microsoft (4 MB)
If you want to learn more about MS Silverlight, take a look at this Wikipedia article.
Output
type in the input above and click 'Execute'
the result will be outputted here
Related Algorithms
no related submissions found
Discussion
1
There was a stupid copy&paste bug in the code. Fixed it now.
28 months and 3 weeks ago by madrat.net
login to leave a comment
Version 2
Version 2 by madrat.net
+1
Calculates the Levenshtein edit distance of two strings using a basic dynamic programming approach adapted from Needleman and Wunsch. The algorithm’s running time is O(nm), as is its space requirement. The space requirement can be pushed down to O(n) (n being the length of the shorter string) by use of Hirschberg’s algorithm.

http://en.wikipedia.org/wiki/Levenshtein_distance
28 months and 3 weeks ago
up down

implementations

one version available

rated by

one user - list?

viewed by

12 users - list?

favorited by

0 users - list?

last activity

28 months and 3 weeks ago