logical. If TRUE the output class will be set to a
tibble, otherwise a data.table. Default
checks getOption("tibble.out") as a logical. If this is NULL
the default tibble_output will set as.tibble
to TRUE if dplyr is loaded. Otherwise, the output will be a
data.table.
...
ignored.
Value
Returns a two column data.frame
(data.table) of integer tallies for the total number of
short syllable (short) and poly syllable (poly) words for each string in the vector.
sents <- c("I like excellent chicken.", "I want eggs Benedict for Festivus.")
tally_both_vector(sents)
tally_both_vector(presidential_debates_2012$dialogue)