get_sentences - Get sentences from a character vector, sentiment, or
sentiment_by object. This is optimized for internal use, converting the
text to lower case and removing non-sentence boundary periods. get_sentences2
retains case and non-sentence boundary periods and should be preferable in
such instances where these features are deemed important to the analysis at
hand.
get_sentences2 - Get sentences from a character vector but does not
force to lower case.
Usage
get_sentences(x, ...)
get_sentences2(x, ...)
Arguments
x
A character vector, sentiment, or sentiment_by object.
(x <- 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"))
get_sentences(x)
get_sentences2(x)