TheFuzz.Phonetic.MetaphoneAlgorithm

Calculates the Metaphone Phonetic Algorithm of a string.

Source

Summary

compute(value)

Returns the Metaphone phonetic version of the provided string. ## Examples

iex> TheFuzz.Phonetic.MetaphoneAlgorithm.compute("z")
"s"
iex> TheFuzz.Phonetic.MetaphoneAlgorithm.compute("ztiaz")
"sxs"

Functions

compute(value)

Returns the Metaphone phonetic version of the provided string. ## Examples

iex> TheFuzz.Phonetic.MetaphoneAlgorithm.compute("z")
"s"
iex> TheFuzz.Phonetic.MetaphoneAlgorithm.compute("ztiaz")
"sxs"
Source