Convert phonetic representation from IPA
Converts to X-SAMPA or ARPABET (used by the CMU Pronouncing Dictionary)
ipa(x, to = c("xsampa", "arpabet"))
x |
A phonetic character vector in IPA |
to |
The phonetic alphabet to convert to.
Defaults to |
A character vector the same length as x
convert_phonetics()
to convert between any phonetic
representations
# `ipa()` supports raw Unicode input or escaped Unicode sequences (\uxxxx), # but raw Unicode is not supported in R package documentation, # hence the ugly examples ipa("\\u02cch\\u025b\\'lo\\u028a") ipa(c("\\u02cch\\u025b\\'lo\\u028a", "w\\u025dld")) ipa("\\u02cch\\u025b\\'lo\\u028a", to = "arpabet") ipa(c("\\u02cch\\u025b\\'lo\\u028a", "w\\u025dld"), to = "arpabet")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.