Fast Levenshtein distance in R?

前端 未结 4 1673
野趣味
野趣味 2020-11-30 06:07

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

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-30 06:23

    You could also use levenshtein_distance() from the textTinyR package. I got 'calloc' memory errors with all other packages when it came to larger character vectors of around 30k characters. Only textTinyR worked for me!

提交回复
热议问题