instance method
DidYouMean::TreeSpellChecker#normalize
normalize(str)
lib/did_you_mean/tree_spell_checker.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/did_you_mean/tree_spell_checker.rb, line 103
def normalize(str)
str.downcase!
str.tr!('@', ' ') if str.include?('@')
str
end
No documentation available
See also
#ideas_to_paths
#plausible_dimensions
#find_suggestions
#possible_paths
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1