class Emiler::JW

Constants

DUMMY
MATCHER

Attributes

jw[R]

Public Class Methods

new() click to toggle source
# File lib/emiler.rb, line 13
def initialize
  @jw = FuzzyStringMatch::JaroWinklerPure.new
end

Public Instance Methods

distance(s1, s2) click to toggle source
# File lib/emiler.rb, line 17
def distance s1, s2
  @jw.get_distance s1, s2
end