Skip to contents

split_text_as_paragraphs Splits text into sentences-based chunks.

Usage

split_text_as_paragraphs(text)

Arguments

text

a single piece of text to break down into paragraphs.

Details

Splits text into paragraphs-based chunks, leveraging the tokenizers library.

Examples

# c("Hi! How are you?\n\n Do you want to go for a walk?") |> split_text_as_paragraphs()