Phonetic Spelling Algorithms in R

Build Status Coverage Status Downloads from the RStudio CRAN mirror DOI JOSS Status

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("howardjp/phonics", 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.