HipcallTts.TextSplitter (hipcall_tts v0.5.0)
View SourceSplits text into chunks that fit within a provider max length, preferring sentence boundaries when possible.
Summary
Functions
@spec split(String.t(), pos_integer(), keyword()) :: {:ok, [String.t()]} | {:error, String.t()}