TheFuzz.Phonetic.MetaphoneMetric (TheFuzz v0.6.0)

View Source

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

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