lib/taxamatch_rb/phonetizer.rb
Method near_match
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.near_match(a_word, normalize_ending = false)
a_word = a_word.strip rescue ''
return '' if a_word == ''
a_word = Taxamatch::Normalizer.normalize a_word
case a_word