class FuzzyStringMatch::JaroWinklerInline

Public Instance Methods

getDistance(s1,s2) click to toggle source
# File lib/fuzzystringmatch/inline/jarowinkler.rb, line 25
def getDistance(s1,s2)
  result = getDistanceInternal(s1,s2)
  if result.nan?
    raise NoMemoryError.new( "failed to allocate memory. string argument s1 or s2 is too large." )
  end
  return result
end
pure?() click to toggle source
# File lib/fuzzystringmatch/inline/jarowinkler.rb, line 21
def pure?
  false
end