Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
TranscribedPhrase interface
- Package:
- @azure/ai-speech-transcription
A transcribed phrase.
Properties
| channel | The 0-based channel index. Only present if channel separation is enabled. |
| confidence | The confidence value for the phrase. |
| durationInMs | The duration of the phrase in milliseconds. |
| locale | The locale of the phrase. |
| offsetInMs | 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
durationInMs
The duration of the phrase in milliseconds.
durationInMs: number
Property Value
number
locale
The locale of the phrase.
locale?: string
Property Value
string
offsetInMs
The start offset of the phrase in milliseconds.
offsetInMs: 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[]
