Skip to content
1 min read · 95 words

Interface: SttSegment

Defined in: src/batteries/specialists/stt/transformers_js/types.ts:34

A single recognized speech segment with its time bounds and text.

Properties

PropertyTypeDescriptionDefined in
endnumber | nullThe segment's end time, in seconds, or null when the engine did not report one.src/batteries/specialists/stt/transformers_js/types.ts:38
startnumberThe segment's start time, in seconds.src/batteries/specialists/stt/transformers_js/types.ts:36
textstringThe segment's recognized text.src/batteries/specialists/stt/transformers_js/types.ts:40