arpa {ipa}R Documentation

Convert phonetic representation from ARPABET (CMU)

Description

Converts to IPA or X-SAMPA

Usage

arpa(x, to = c("ipa", "xsampa"))

arpabet(x, to = c("ipa", "xsampa"))

cmu(x, to = c("ipa", "xsampa"))

Arguments

x

A phonetic character vector in ARPABET

to

The phonetic alphabet to convert to. Defaults to "ipa". "sampa" is an accepted alias for "xsampa".

Value

A character vector the same length as x

See Also

convert_phonetics() to convert between any phonetic representations

ipa() to convert from IPA

sampa() and xsampa() to convert from X-SAMPA

Examples

arpa('HH EH L OW')
arpa(c('HH EH L OW', "W ER L D"))

arpa('HH EH L OW', "xsampa")
arpa(c('HH EH L OW', "W ER L D"), "xsampa")

[Package ipa version 0.1.0 Index]