class PgSearch::Features::DMetaphone::Normalizer

Decorates a normalizer with dmetaphone processing.

def add_normalization(original_sql)

def add_normalization(original_sql)
  otherwise_normalized_sql = normalizer_to_wrap.add_normalization(original_sql)
  "pg_search_dmetaphone(#{otherwise_normalized_sql})"
end

def initialize(normalizer_to_wrap)

def initialize(normalizer_to_wrap)
  @normalizer_to_wrap = normalizer_to_wrap
end