Modifying Levenshtein Distance algorithm to not calculate all distances

后端 未结 6 1793
渐次进展
渐次进展 2020-12-31 19:40

I\'m working on a fuzzy search implementation and as part of the implementation, we\'re using Apache\'s StringUtils.getLevenshteinDistance. At the moment, we\'re going for a

6条回答
  •  不知归路
    2020-12-31 20:15

    According to "Gusfield, Dan (1997). Algorithms on strings, trees, and sequences: computer science and computational biology" (page 264) you should ignore zeros.

提交回复
热议问题