TranscriptionPhrase interface
A transcribed phrase with timing information.
Properties
| confidence | The confidence score of the transcription. |
| duration |
Duration of the phrase in milliseconds. |
| locale | The locale of the transcription (e.g., 'en-US'). |
| offset |
Offset from the start of the audio in milliseconds. |
| text | The transcribed text of the phrase. |
| words | The individual words in the phrase with timing information. |
Property Details
confidence
The confidence score of the transcription.
confidence?: number
Property Value
number
durationInMs
Duration of the phrase in milliseconds.
durationInMs: number
Property Value
number
locale
The locale of the transcription (e.g., 'en-US').
locale?: string
Property Value
string
offsetInMs
Offset from the start of the audio in milliseconds.
offsetInMs: number
Property Value
number
text
The transcribed text of the phrase.
text: string
Property Value
string
words
The individual words in the phrase with timing information.
words?: TranscriptionWord[]