Whisper::Segment
A single transcription segment returned by Whisper#transcribe.
Each segment represents a contiguous span of recognized speech with timing information and confidence metadata.
Constructors
Instance methods
no_speech_probability
Probability that this segment contains no speech (0.0 to 1.0). Higher values suggest background noise, silence, or music rather than speech.
speaker_turn
Incrementing speaker turn counter. Starts at 0 and increments at each
speaker turn boundary (when the previous segment had speaker_turn_next == true).
speaker_turn_next
When true, indicates the next segment is from a different speaker.
Useful for diarization or dialog formatting.