% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{truncate_text_to_words}
\alias{truncate_text_to_words}
\title{Truncate Text to Word Count}
\usage{
truncate_text_to_words(text, max_words = 150)
}
\arguments{
\item{text}{Character string to truncate.}

\item{max_words}{Maximum number of words (default: 150).}
}
\value{
Truncated text with "..." appended if truncated.
}
\description{
Truncates text to a maximum number of words and adds
ellipsis if truncated.
}
\concept{text-utilities}
\keyword{internal}
