Description Usage Arguments Value See Also Examples
Converts to IPA or ARPABET (used by the CMU Pronouncing Dictionary)
1 2 3 |
x |
A phonetic character vector in X-SAMPA |
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()
to convert from IPA
arpa()
, arpabet()
and cmu()
to convert from ARPABET (CMU)
1 2 3 4 5 |
[1] "ˌhɛˈloʊ"
[1] "ˌhɛˈloʊ" "wɝld"
[1] "HH EH L OW"
Warning message:
In convert_phonetics(x, from = "xsampa", to = to) :
Stress is not supported for ARPABET, so stresses were removed.
[1] "HH EH L OW" "W ER L D"
Warning message:
In convert_phonetics(x, from = "xsampa", to = to) :
Stress is not supported for ARPABET, so stresses were removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.