Akin.Metaphone.Single (Akin v0.1.7) View Source

Calculates the Metaphone Phonetic Algorithm of a string.

Link to this section Summary

Functions

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

Transcodes the rest of the string using the Metaphone algorithm.

Transcodes the first character of the string using the Metaphone algorithm.

Link to this section Functions

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

iex> Akin.Metaphone.Single.compute("z")
"s"
iex> Akin.Metaphone.Single.compute("ztiaz")
"sxs"

Transcodes the rest of the string using the Metaphone algorithm.

p = processed values c = current character r = remaining values o = output

Link to this function

transcode_first_character(value)

View Source

Transcodes the first character of the string using the Metaphone algorithm.