Another Ruby implementation of Jaro-Winkler string distance
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
jaro.gemspec
jaro.rb

README.md

jaro

Yet another implementation of Jaro-Winkler string distance. Examples taken from wikipedia:

puts "MARTHA" ^ "MARHTA"
puts "DWAYNE" ^ "DUANE"
puts "DIXON" ^ "DICKSONX"

outputs:

0.9611111111111111
0.8400000000000001
0.8133333333333332