Class SpeakerLabelsResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SpeakerLabelsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Constructor Summary
Constructors Constructor Description SpeakerLabelsResult()
-
Method Summary
Modifier and Type Method Description Float
getConfidence()
Gets the confidence.Float
getFrom()
Gets the from.Long
getSpeaker()
Gets the speaker.Float
getTo()
Gets the to.Boolean
isXFinal()
Gets the xFinal.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SpeakerLabelsResult
public SpeakerLabelsResult()
-
-
Method Details
-
getFrom
Gets the from.The start time of a word from the transcript. The value matches the start time of a word from the `timestamps` array.
- Returns:
- the from
-
getTo
Gets the to.The end time of a word from the transcript. The value matches the end time of a word from the `timestamps` array.
- Returns:
- the to
-
getSpeaker
Gets the speaker.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.
- Returns:
- the speaker
-
getConfidence
Gets the confidence.A score that indicates the service's confidence in its identification of the speaker in the range of 0.0 to 1.0.
- Returns:
- the confidence
-
isXFinal
Gets the xFinal.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.
- Returns:
- the xFinal
-