powered by
Converts to IPA or ARPABET (used by the CMU Pronouncing Dictionary)
sampa(x, to = c("ipa", "arpabet"))xsampa(x, to = c("ipa", "arpabet"))
xsampa(x, to = c("ipa", "arpabet"))
A phonetic character vector in X-SAMPA
The phonetic alphabet to convert to. Defaults to "ipa". "arpa" and "cmu" are accepted aliases for "arpabet".
"ipa"
"arpa"
"cmu"
"arpabet"
A character vector the same length as x
x
convert_phonetics() to convert between any phonetic representations
convert_phonetics()
ipa() to convert from IPA
ipa()
arpa(), arpabet() and cmu() to convert from ARPABET (CMU)
arpa()
arpabet()
cmu()
# NOT RUN { sampa('%hE"loU') sampa(c('%hE"loU', "w3`ld")) sampa('%hE"loU', "arpabet") sampa(c('%hE"loU', "w3`ld"), "arpabet") # }
Run the code above in your browser using DataLab