sents <- c("I like chicken.", "I want eggs Benedict for breakfast.")
sum_vector(sents)
data.frame(
sents, syllable_count = sum_vector(sents),
stringsAsFactors = FALSE
)
sum_vector(presidential_debates_2012$dialogue)
Run the code above in your browser using DataLab