phonetics {RecordLinkage}R Documentation

Phonetic Code

Description

Interface to phonetic coding functions.

Usage

soundex(str)

Arguments

str

A character vector or matrix.

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.

Value

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

Author(s)

Andreas Borg (R interface only)

References

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

See Also

jarowinkler and levenshteinSim for string comparison.


[Package RecordLinkage version 0.4-12.4 Index]