lib/taxamatch_rb/phonetizer.rb in dimus-taxamatch_rb-0.1.1 vs lib/taxamatch_rb/phonetizer.rb in dimus-taxamatch_rb-0.1.2
- old
+ new
@@ -59,11 +59,9 @@
a_word = self.normalize_ending(a_word)
end
a_word
end
- protected
-
def self.normalize_ending(a_word)
# -- deal with variant endings -is (includes -us, -ys, -es), -im (was -um), -as (-os)
# -- at the end of a string translate all to -a
a_word.gsub!(/IS$/, 'A')
a_word.gsub!(/IM$/, 'A')
\ No newline at end of file