string compare 字符串相似度比较
发布于 4 年前 作者 Rabbitzzc 5102 次浏览 来自 分享

写了个JavaScript版本的字符串相似度包,对比较字符串相似度还是挺有意思的,求PR,提供新的方法 npm包地址:https://www.npmjs.com/package/string-comparison git地址:https://github.com/Rabbitzzc/js-string-comparision#readme

目前,只写了四种方法,还有测试没有对 distance和 sortMatch 方法覆盖,希望提一点pr,帮忙完善。

image.png

回到顶部