Phonetic Spelling Algorithms in R | Eur Ing Dr James P. Howard II Phonetic Spelling Algorithms in R | Eur Ing Dr James P. Howard II

Dr James P. Howard, II
A Mathematician, a Different Kind of Mathematician, and a Statistician

image representing a theme in this article

Phonetic Spelling Algorithms in R

This is the R package to support phonetic spelling algorithms in R. Several packages provide the Soundex algorithm. However, other algorithms have been developed since Soundex that can also provide phonetic spelling and test phonetic similarity.

Source Code


The phonics R package is available for download from package at GitHub. Install phonics via DevTools:


The phonics package is developed using the GitFlow development workflow. To install the development branch, use:

devtools::install_github("k3jph/phonics-in-r", ref = "develop")

Algorithms included

  • Caverphone
    • Original Caverphone
    • Caverphone 2
  • Cologne (K├Âlner)
  • Lein
  • Match Rating Approach
    • Encoder
    • Comparison
  • Metaphone
  • New York State Identification and Intelligence System
    • NYSIIS
    • Modified NYSIIS
  • Roger Root
  • Soundex
    • Original Soundex
    • Apache Refined Soundex
  • Statistics Canada
    • Census Modified


  • testthat
  • roxygen2
  • Rcpp
  • BH

Contribution guidelines

Blog Posts

Image by Unsplash / Pexels. This work used the Extreme Science and Engineering Discovery Environment (XSEDE), which is supported by National Science Foundation grant number ACI-1548562. In particular, it used the Comet system at the San Diego Supercomputing Center (SDSC) through allocations TG-DBS170012 and TG-ASC150024.