TranscriptEvent
One event of a streaming transcription (SttModel.transcribe_stream).
end_seconds (property)
The span's end on the audio's clock.
ids (property)
The token ids: a closed segment's, or every id at the end.
kind (property)
What the event carries (TranscriptEventKind).
language (property)
At the end, the language the decode ran in (empty when the model names none).
segment_index (property)
The segment the event belongs to, 0-based, in order.
start_seconds (property)
The span's start on the audio's clock.
text (property)
The open segment's words so far, a closed segment's text, or the whole transcript.
words (property)
A closed segment's words, or every word at the end, with their spans (a list of TranscriptWord; empty unless the stream asked for word timestamps).
__init__
__init__(self, /, *args, **kwargs)
Initialize self. See help(type(self)) for accurate signature.