getStructure: Takes a sentence and figures out the syllable inflection for...

Description Usage Arguments Details Value See Also Examples

View source: R/funcs.R

Description

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

Usage

1
2
3
4
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

Details

DETAILS

Value

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

See Also

map

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

DataStrategist/syllableR documentation built on May 25, 2021, 5:25 p.m.