Encodes names and words as phonetic codes, so that names which sound alike but are spelled differently can be matched. Implements the Metaphone algorithm of Philips (1990, Computer Language, 7(12), 38-43) and the Double Metaphone algorithm of Philips (2000) <https://web.archive.org/web/20250702064845/https://drdobbs.com/the-double-metaphone-search-algorithm/184401251>, which gives a primary and an alternate code for names of many language origins. Unlike most implementations, including 'PGRdup', the codes are not cut to four characters, which keeps long and multi-part names apart. Provides metaphone(), double_metaphone() and sounds_like() for record linkage, deduplication and name search, and includes a data set of common United States surnames.
| Version: | 0.1.0 |
| Depends: | R (≥ 3.5.0) |
| Suggests: | dplyr, knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-10-15 |
| DOI: | 10.32614/CRAN.package.fullmetaphone (may not be active yet) |
| Author: | Anil Kumar Goyal [aut, cre, cph], Atharv Tyagi [aut, cph], Lawrence Philips [ctb] (Designer of the Metaphone and Double Metaphone algorithms and author of their original code), Maurice Aubrey [ctb] (Author of the C implementation of Double Metaphone whose rules are followed here), Kevin Atkinson [ctb] (Bug fixes to that C implementation), The Apache Software Foundation [cph] (Apache Commons Codec, the basis of metaphone() and of the test data) |
| Maintainer: | Anil Kumar Goyal <anilyayavar at gmail.com> |
| BugReports: | https://github.com/anilyayavar/dblmetaphone/issues |
| License: | GPL-3 |
| Copyright: | See file inst/COPYRIGHTS. fullmetaphone copyright details |
| URL: | https://github.com/anilyayavar/dblmetaphone |
| NeedsCompilation: | no |
| Language: | en-GB |
| Materials: | README, NEWS |
| CRAN checks: | fullmetaphone results |
| Reference manual: | fullmetaphone.html , fullmetaphone.pdf |
| Vignettes: |
Phonetic matching of names with fullmetaphone (source, R code) |
| Package source: | fullmetaphone_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): fullmetaphone_0.1.0.tgz, r-oldrel (arm64): fullmetaphone_0.1.0.tgz, r-release (x86_64): fullmetaphone_0.1.0.tgz, r-oldrel (x86_64): fullmetaphone_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=fullmetaphone to link to this page.