| sampa {ipa} | R Documentation |
Convert phonetic representation from X-SAMPA
Description
Converts to IPA or ARPABET (used by the CMU Pronouncing Dictionary)
Usage
sampa(x, to = c("ipa", "arpabet"))
xsampa(x, to = c("ipa", "arpabet"))
Arguments
x |
A phonetic character vector in X-SAMPA |
to |
The phonetic alphabet to convert to.
Defaults to |
Value
A character vector the same length as x
See Also
convert_phonetics() to convert between any phonetic
representations
ipa() to convert from IPA
arpa(), arpabet() and cmu() to convert from ARPABET (CMU)
Examples
sampa('%hE"loU')
sampa(c('%hE"loU', "w3`ld"))
sampa('%hE"loU', "arpabet")
sampa(c('%hE"loU', "w3`ld"), "arpabet")
[Package ipa version 0.1.0 Index]