% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocess.R
\name{split_sentences}
\alias{split_sentences}
\title{Split text into sentences}
\usage{
split_sentences(
  text,
  split_lines = TRUE,
  keep_punctuation = TRUE,
  drop_empty = TRUE
)
}
\arguments{
\item{text}{Character vector.}

\item{split_lines}{Logical; treat line breaks and \code{|} as boundaries?}

\item{keep_punctuation}{Logical; retain terminal punctuation?}

\item{drop_empty}{Logical; remove empty results?}
}
\value{
A character vector of sentences.
}
\description{
A lightweight sentence segmenter suitable for tutorials and clean prose.
It splits at terminal punctuation followed by whitespace, and optionally at
line breaks and vertical bars. For production multilingual segmentation,
use a dedicated NLP tokenizer.
}
\examples{
split_sentences("Analyze data. Present results! Work with teams?")
}
