Description Usage Arguments Value Examples
View source: R/get_sentences.R
get_sentences
- Get sentences from a character vector, sentiment
, or
sentiment_by
object.
1 | get_sentences(x, ...)
|
x |
A character vector, |
... |
Other arguments passed to |
Returns a list of vectors of sentences.
1 2 3 4 5 6 7 8 9 10 11 12 | dat <- data.frame(
w = c('Person 1', 'Person 2'),
x = c(paste0(
"Mr. Brown comes! He says hello. i give him coffee. i will ",
"go at 5 p. m. eastern time. Or somewhere in between!go there"
), "One more thought for the road! I am going now. Good day."),
y = state.name[c(32, 38)],
z = c(.456, .124),
stringsAsFactors = FALSE
)
get_sentences(dat$x)
get_sentences(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.