Levenshtein distance: how to better handle words swapping positions?

前端 未结 9 1316
忘掉有多难
忘掉有多难 2021-01-30 02:22

I\'ve had some success comparing strings using the PHP levenshtein function.

However, for two strings which contain substrings that have swapped positions, the algorithm

9条回答
提交回复
热议问题