public class TranscriptionSegment
Immutable text for an audio interval, in seconds from the start of the input. Intervals describe recognition windows or detected utterances, not word-level forced alignment. @example print(segment.start, segment.end, segment.text)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | endend as Double |
Exclusive last audio second. |
| public readonly property | startstart as Double |
First audio second. |
| public readonly property | texttext as String |
Recognized text. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | TranscriptionSegmentTranscriptionSegment(start as Double, end as Double, notnull text as String) |
Captures a validated interval and text. |