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.
引用格式
Eduard Polityko (2026). Calculation of distance between strings (https://ww2.mathworks.cn/matlabcentral/fileexchange/17585-calculation-of-distance-between-strings), MATLAB Central File Exchange. 检索时间: .
致谢
参考作品: Spot Border Detection, Path Tracing, Measuarement, Fragmentation, Path Tracing, Measurements, Fragmentation for Doubly-Connected Spot, Calculation of Pareto points
启发作品: Find nearest-matching string from a set, Spot Border Detection, Path Tracing, Measuarement, Fragmentation, Path Tracing, Measurements, Fragmentation for Doubly-Connected Spot, Calculation of Pareto points, philipptempel/matlab-projectmanagement
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
