markvanderloo / stringdist

String distance functions for R
319 stars 36 forks source link

Double metaphone algorithm #56

Closed nacnudus closed 7 years ago

nacnudus commented 7 years ago

This is a feature request for the double metaphone algorithm. There is a C++ implementation.

markvanderloo commented 7 years ago

Thanks for the link! I definitely like to include it. It will take a bit of work to include since stringdist is C-based and works on int arrays (to handle encoding difference) and not on C++ strings. Also, it needs to be thread-safe since stringdist parallelizes everything with openMP.

markvanderloo commented 7 years ago

There is now a phonics package on CRAN where such a feature is more in its place.