R/chunk.R
chunk_sentence.Rd
Splits text on sentence boundaries (period followed by space or newline).
chunk_sentence(text)
Character string to chunk.
Character vector of sentence chunks.
chunk_sentence("First sentence. Second sentence. Third one.") #> [1] "First sentence." "Second sentence." "Third one."