File Exchange

image thumbnail

Calculation of distance between strings

version 1.0 (4 KB) by

A function computes Levenshtein and editor distances with use of Vagner-Fisher algorithm.

21 Downloads

Updated

View License

Function strdist(r,b,krk,cas) is intended for calculation of distance between strings.It computes Levenshtein and editor distances with use of Vagner-Fisher algorithm. Levenshtein distance is the minimal quantity of character substitutions, deletions and insertions for transformation of string r into string b. An editor distance is computed as Levenstein distance with substitutions weight of 2. You can also ignore a case.

Comments and Ratings (1)

works great for me when i check which ocr and image processing gives me the best text result when i compare to original

MATLAB Release
MATLAB 7.5 (R2007b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video