Interface: TranscriptionSegment
Defined in: types/stt.ts:228
Structure that represent single Segment of transcription.
Properties
avgLogprob
avgLogprob:
number
Defined in: types/stt.ts:235
Average log probability calculated across all tokens in a segment.
compressionRatio
compressionRatio:
number
Defined in: types/stt.ts:236
Compression ration achieved on a given segment.
end
end:
number
Defined in: types/stt.ts:230
Timestamp of the end of the segment in audio (in seconds).
start
start:
number
Defined in: types/stt.ts:229
Timestamp of the beginning of the segment in audio (in seconds).
temperature
temperature:
number
Defined in: types/stt.ts:234
Temperature for which given segment was computed.
text
text:
string
Defined in: types/stt.ts:231
Full text of the given segment as a string.
tokens
tokens:
number[]
Defined in: types/stt.ts:233
Raw tokens represented as table of integers.
words?
optionalwords:Word[]
Defined in: types/stt.ts:232
If verbose set to true in DecodingOptions, it returns word-level timestamping
as an array of Word.