class Alphabet::Unaccenter
Public Class Methods
new( mapping )
click to toggle source
# File lib/alphabets/utils.rb, line 42 def initialize( mapping ) @mapping = mapping end
Public Instance Methods
count( freq )
click to toggle source
# File lib/alphabets/utils.rb, line 46 def count( freq ) Alphabet.count( freq, @mapping ); end
unaccent( name )
click to toggle source
# File lib/alphabets/utils.rb, line 47 def unaccent( name ) Alphabet.sub( name, @mapping ); end