class IdentityParade::Matchers::StringMatcher
This matcher checks the similarity of two strings.
Public Instance Methods
jarow()
click to toggle source
# File lib/identity_parade/matchers/string_matcher.rb, line 11 def jarow FuzzyStringMatch::JaroWinkler.create(:native) end
score()
click to toggle source
# File lib/identity_parade/matchers/string_matcher.rb, line 7 def score jarow.getDistance(left.to_s, right.to_s) end