TheFuzz v0.5.0 TheFuzz.Phonetic.MetaphoneMetric View Source

Calculates the Metaphone Phonetic Algorithm metric of two strings.

Link to this section 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

Link to this section 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