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

Calculates the Metaphone Phonetic Algorithm of a string.

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.

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.