| Module | Text::Metaphone |
| In: |
lib/text/metaphone.rb
lib/text/double_metaphone.rb |
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.