syllabify_list {syllabifyr} | R Documentation |
Syllabify to a list
Description
This will take a transcription as input, and return it as a list.
Usage
syllabify_list(pron, alaska_rule = TRUE)
Arguments
pron |
The CMU dictionary pronunciation, either as a vector, or a string with labels separated by spaces |
alaska_rule |
Don't maximize onset on lax vowel + s sequences |
Value
A with one value per syllable. Each value is a list, with three
values: onset, nucleus, coda. Each will contain a vector of the phones
which belong to each constituent part of the syllable. Any empty
constituent parts will have the value character(0)
Examples
# String input
syllabify_list("AO0 S T R EY1 L Y AH0")
# Vector input
syllabify_list(c("AO0", "S", "T", "R", "EY1", "L", "Y", "AH0"))
# Hiatus
syllabify_list("HH AY0 EY1 T AH0 S")
# Deficient transcriptions (has warning)
syllabify_list(c("M"))
[Package syllabifyr version 0.1.1 Index]