Convert character vectors between phonetic representations. Supports IPA, X-SAMPA and ARPABET (used by the CMU Pronouncing Dictionary).
You can install the development version of ipa from GitHub with:
My main use case for ipa is including phonetic representations in R markdown files. You can enter phonetic information as plain-text X-SAMPA and have it rendered as IPA.
/aɪ piː ˈeɪ/
/ˈnom.bɾe/, /nɔ̃bʁ/
You can also get the X-SAMPA representation of IPA strings.
/aI pi: "eI/
/nom.b4e/
, /nO~bR/
ARPABET support allows ipa to automatically convert results from the phon package.
pɹʌnaʊns
Please note that ipa is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.