Learn R Programming

RecordLinkage (version 0.4-12.4)

phonetics: Phonetic Code

Description

Interface to phonetic coding functions.

Usage

soundex(str)

Value

A character vector or matrix with the same size and dimensions as str, containing its phonetic encoding.

Arguments

str

A character vector or matrix.

Author

Andreas Borg (R interface only)

Details

soundex is a widespread algorithm for English names. This implementation can only handle common characters. It strips off non-alphabetical characters.

The C code for soundex was taken from PostgreSQL 8.3.6.

References

see also https://www.codedrome.com/the-soundex-algorithm-in-c/

See Also

jarowinkler and levenshteinSim for string comparison.