R/funcs.R
getStructure.Rd
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 )
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 |
Will give you a list of 0, 1, 2 depending on where the emphasis falls on each syllable.
DETAILS
# NOT RUN { if(interactive()){ #EXAMPLE1 } # }