View Source Avrogen.Util.JaroDistance (avrogen v0.8.5)

This is Elixir's implementation of String.jaro_distance/2 before Elixir 1.17.1, when it was "fixed" for certain edge cases. Unfortunately, that fix broke a common case that we relied on (see issue 31 for examples). The simplest solution is just to keep using the old implementation.

Summary

Functions

Link to this function

jaro_distance(string1, string2)

View Source
@spec jaro_distance(binary(), binary()) :: float()