TranscriptionWord

data class TranscriptionWord(val text: String, val startSeconds: Double?, val endSeconds: Double?, val type: String, val speakerId: String?, val logProbability: Double?, val channelIndex: Int?)(source)

A timestamped unit in a transcription.

Constructors

Link copied to clipboard
constructor(text: String, startSeconds: Double?, endSeconds: Double?, type: String, speakerId: String?, logProbability: Double?, channelIndex: Int?)

Properties

Link copied to clipboard

Input channel associated with this unit, when available.

Link copied to clipboard

End offset in seconds, when available.

Link copied to clipboard

Natural-log probability assigned to this unit, when available.

Link copied to clipboard

Diarized speaker identifier, when available.

Link copied to clipboard

Start offset in seconds, when available.

Link copied to clipboard

Transcribed text for this unit.

Link copied to clipboard

Unit type reported by ElevenLabs, such as a word or spacing unit.