Sha256: 78a9753696730da35c936d42b25c84a5d62872528143e80e7901e42317a0b16f

Contents?: true

Size: 604 Bytes

Versions: 6839

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,839 entries across 6,830 versions & 29 rubygems

Version Path
ory-client-0.0.1.alpha42 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha41 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha40 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha39 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha38 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha37 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha36 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-kratos-client-0.8.2.alpha1 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha31 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
primary_connect_proto-0.4.0 vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
primary_connect_proto-0.3.0 vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
primary_connect_proto-0.2.0 vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
primary_connect_proto-0.1.0 vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha30 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha29 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
primary_connect_proto-0.0.6 vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha28 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
primary_connect_proto-0.0.5 vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha27 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb
ory-client-0.0.1.alpha24 vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb