Function group_words

Source
pub fn group_words(
    words: &[(f64, f64, String)],
    opts: &GroupOpts,
) -> Vec<Segment>
Expand description

One-word segments (-ml 1 -sow) → sentences, keeping the word timings. A sentence ends per GroupOpts: on punctuation, on a long gap, at max_chars, or at max_words.