module Text::Metaphone
Extended Modules
Defined in:
text/double_metaphone.crtext/metaphone.cr
Instance Method Summary
-
#double_metaphone(str)
Returns the primary and secondary double metaphone tokens (the secondary will be nil if equal to the primary).
-
#metaphone(str, options : Hash(String, String) = Hash(::String, ::String).new)
Returns the Metaphone representation of a string.
Instance Method Detail
def double_metaphone(str)
#
Returns the primary and secondary double metaphone tokens (the secondary will be nil if equal to the primary).
Returns the Metaphone representation of a string. If the string contains multiple words, each word in turn is converted into its Metaphone representation. Note that only the letters A-Z are supported, so any language-specific processing should be done beforehand.
If the :buggy option is set, alternate 'buggy' rules are used.