News for hackers. Stuff that matters.
Re:Levenshtein Distance by AgalmicVentures on Friday August 23, 2019 @12:23PM (#20779155)
Levenshtein distance is a metric [1] and discrete metrics can be indexed with BK trees, taking advantage of the triangle inequality. For a detailed explanation, see [2].

I know of no real world implementation of this, however.

[1] https://en.wikipedia.org/wiki/Metric_(mathematics) [2] http://blog.notdot.net/2007/4/Damn-Cool-Algorithms-Part-1-BK...

There are no comments on this comment yet.