R中Levenshtein的距离很快吗? [英] Fast Levenshtein distance in R?
本文介绍了R中Levenshtein的距离很快吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一个包含Levenshtein距离计数功能的软件包,该软件包以C或Fortran代码实现?我有很多字符串要比较,而MiscPsycho
中的stringMatch
对此太慢了.
Is there a package that contains Levenshtein distance counting function which is implemented as a C or Fortran code? I have many strings to compare and stringMatch
from MiscPsycho
is too slow for this.
推荐答案
levenshteinDist (from the RecordLinkage
package) calls compiled C code. Give it a try.
这篇关于R中Levenshtein的距离很快吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文