R: Phonetic Code

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

Written based on a description of the algorithm by Michael Gilleland found at http://www.merriampark.com/ld.htm

### See Also

`jarowinkler` and `levenshteinSim` for string comparison.

[Package RecordLinkage version 0.4-12.2 Index]