Open timotheecour opened 3 years ago
I could implement first task. Simple reference implementation: https://www.guyrutenberg.com/2008/12/15/damerau-levenshtein-distance-in-python/
I have ported this simple one: https://gist.github.com/xflywind/bef5b8626076463f4226cd9f20a3d0e7
Find a better article: https://www.lemoda.net/text-fuzzy/damerau-levenshtein/index.html
that would be great, happy to look at drafts in a branch A few notes:
proc editDistanceCustom[T](a, b: openArray[Y]): int
for now). I don't see why the specificities of editDistance (dealing with unicode) can't be abstracted away in some generic API for some reason. This should have 0 overhead over editDistance
otherwise not good