module Text::Metaphone

Extended Modules

Defined in:

text/double_metaphone.cr
text/metaphone.cr

Instance Method Summary

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).


[View source]
def metaphone(str, options : Hash(String, String) = Hash(::String, ::String).new) #

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.


[View source]