Sha256: 78a9753696730da35c936d42b25c84a5d62872528143e80e7901e42317a0b16f

Contents?: true

Size: 604 Bytes

Versions: 6795

Compression:

Stored size: 604 Bytes

Contents

# frozen_string_literal: true

module JaroWinkler
  DEFAULT_ADJ_TABLE = Hash.new { |h, k| h[k] = Hash.new(&h.default_proc) }
  [
    %w[A E], %w[A I], %w[A O], %w[A U], %w[B V], %w[E I], %w[E O], %w[E U], %w[I O],
    %w[I U], %w[O U], %w[I Y], %w[E Y], %w[C G], %w[E F], %w[W U], %w[W V], %w[X K],
    %w[S Z], %w[X S], %w[Q C], %w[U V], %w[M N], %w[L I], %w[Q O], %w[P R], %w[I J],
    %w[2 Z], %w[5 S], %w[8 B], %w[1 I], %w[1 L], %w[0 O], %w[0 Q], %w[C K], %w[G J],
    ['E', ' '], ['Y', ' '], ['S', ' ']
  ].each do |s1, s2|
    DEFAULT_ADJ_TABLE[s1][s2] = DEFAULT_ADJ_TABLE[s2][s1] = true
  end
end

Version data entries

6,795 entries across 6,786 versions & 28 rubygems

Version Path
cybrid_api_bank_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_id_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_organization_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_bank_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_id_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_organization_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_bank_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_organization_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_id_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
ory-client-1.16.2 vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
avalara_sdk-24.12.2 vendor/bundle/ruby/2.7.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
cybrid_api_bank_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_organization_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_id_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_bank_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_id_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_organization_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
ory-client-1.16.1 vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
ory-client-1.16.0 vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb
cybrid_api_bank_ruby-0.123.143 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb