View Source Akin.DoubleMetaphone (Akin v0.2.0)

Compares two values phonetically and returns a boolean of whether they match using the level in opts. Match calculated using the Double Metaphone Phonetic Algorithm.

Summary

Functions

Compare two strings using the double metaphoen algorithm

Functions

Link to this function

compare(left, right, opts \\ [])

View Source
@spec compare(
  %Akin.Corpus{
    list: term(),
    original: term(),
    set: term(),
    stems: term(),
    string: term()
  },
  %Akin.Corpus{
    list: term(),
    original: term(),
    set: term(),
    stems: term(),
    string: term()
  },
  Keyword.t()
) :: float()

Compare two strings using the double metaphoen algorithm