作者声明:使用最高效的 JS 实现方式,计算两个字符串之间的 Levenshtein 距离。
Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm