1
4
你应该看看列文斯坦的距离。 |
2
0
这个 SO answer to a similar question 给出了Levenshtein、JaroWinkler和SmithWatermanGotoh算法的PHP代码。 我发现Levenshtein和JaroWinkler对于较小的字符串之间的拼写错误通常能给出很好的结果。而史密斯·沃特曼·戈托 is good at comparing sentences 就像你问题中的例子。 |
Dima Malko · 如何在指定符号前添加符号? 2 年前 |
shekharsabale · 从列表元素捕获子字符串 2 年前 |
Manny · 如何比较Perl中的字符串? 2 年前 |
Manan Girdhar · 拆分字符串并仅在java中使用第二部分 2 年前 |
AnxiousLuna · Python使用len()获取数组索引数 2 年前 |
antonoyaro8 · 数据帧中每列上的Grepl 2 年前 |