TheFuzz v0.3.0 TheFuzz.Phonetic.MetaphoneMetric

Calculates the Metaphone Phonetic Algorithm metric of two strings.

Summary

Functions

Compares two values phonetically and returns a boolean of whether they match or not. ## Examples

iex> TheFuzz.Phonetic.MetaphoneMetric.compare("Colorado", "Kolorado")
true
iex> TheFuzz.Phonetic.MetaphoneMetric.compare("Moose", "Elk")
false

Functions

compare(a, b)

Compares two values phonetically and returns a boolean of whether they match or not. ## Examples

iex> TheFuzz.Phonetic.MetaphoneMetric.compare("Colorado", "Kolorado")
true
iex> TheFuzz.Phonetic.MetaphoneMetric.compare("Moose", "Elk")
false