SpeakerLabelsResult
public struct SpeakerLabelsResult : Codable, Equatable
Information about the speakers from speech recognition results.
-
The start time of a word from the transcript. The value matches the start time of a word from the
timestamps
array.Declaration
Swift
public var from: Double
-
The end time of a word from the transcript. The value matches the end time of a word from the
timestamps
array.Declaration
Swift
public var to: Double
-
The numeric identifier that the service assigns to a speaker from the audio. Speaker IDs begin at
0
initially but can evolve and change across interim results (if supported by the method) and between interim and final results as the service processes the audio. They are not guaranteed to be sequential, contiguous, or ordered.Declaration
Swift
public var speaker: Int
-
A score that indicates the service’s confidence in its identification of the speaker in the range of 0.0 to 1.0.
Declaration
Swift
public var confidence: Double
-
An indication of whether the service might further change word and speaker-label results. A value of
true
means that the service guarantees not to send any further updates for the current or any preceding results;false
means that the service might send further updates to the results.Declaration
Swift
public var final: Bool