Expand description
Splitting an utterance into render units, and the bound one must fit.
Re-exportsยง
use crate::Error;๐
Constantsยง
- CHARS_
PER_ ๐SECOND - A rough speaking pace, in characters per second, for a duration estimate.
Functionsยง
- push ๐
- sentences
- The sentences of
text, in order, with their punctuation. - within_
bound - Whether one whole utterance fits
max_seconds, as a character estimate at fifteen characters per second rather than a wall-clock measure.