pub fn group_words(words: &[TimedWord], rules: &GroupRules) -> Vec<Cue>Expand description
Groups words (in order, not re-normalised) into single-line cues by
GroupRules. first_word/last_word index the input slice. A cue closes
on sentence-final punctuation (after sentence_min_words words), at
max_words, at max_span_ms, or on a gap over max_gap_ms.