depending on the parameters, it'll either give back a string of numbers, or a

getStructure(
  sentence = "Damn that Little Mouse cause i'm the Albatross",
  explain = FALSE
)

Arguments

sentence

text to parse, Default: 'Damn that Little Mouse cause i'm the Albatross'

explain

if FALSE, just returns the syllable intonation, if TRUE, will return the input sentence with the corresponding syllable numbers, Default: FALSE

Value

Will give you a list of 0, 1, 2 depending on where the emphasis falls on each syllable.

Details

DETAILS

See also

Examples

# NOT RUN {
if(interactive()){
 #EXAMPLE1
 }
# }