module

Text::Metaphone

Instance methods

double_metaphone(str)

Returns the primary and secondary double metaphone tokens (the secondary will be nil if equal to the primary).

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

Source

Nested types