Share via


TranscribedPhrase interface

A transcribed phrase.

Properties

channel

The 0-based channel index. Only present if channel separation is enabled.

confidence

The confidence value for the phrase.

durationMilliseconds

The duration of the phrase in milliseconds.

locale

The locale of the phrase.

offsetMilliseconds

The start offset of the phrase in milliseconds.

speaker

A unique integer number that is assigned to each speaker detected in the audio without particular order. Only present if speaker diarization is enabled.

text

The transcribed text of the phrase.

words

The words that make up the phrase. Only present if word-level timestamps are enabled.

Property Details

channel

The 0-based channel index. Only present if channel separation is enabled.

channel?: number

Property Value

number

confidence

The confidence value for the phrase.

confidence: number

Property Value

number

durationMilliseconds

The duration of the phrase in milliseconds.

durationMilliseconds: number

Property Value

number

locale

The locale of the phrase.

locale?: string

Property Value

string

offsetMilliseconds

The start offset of the phrase in milliseconds.

offsetMilliseconds: number

Property Value

number

speaker

A unique integer number that is assigned to each speaker detected in the audio without particular order. Only present if speaker diarization is enabled.

speaker?: number

Property Value

number

text

The transcribed text of the phrase.

text: string

Property Value

string

words

The words that make up the phrase. Only present if word-level timestamps are enabled.

words?: TranscribedWord[]

Property Value