public class SpeakerLabelsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
SpeakerLabelsResult() |
Modifier and Type | Method and 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.
|
public Float getFrom()
The start time of a word from the transcript. The value matches the start time of a word from the `timestamps` array.
public Float getTo()
The end time of a word from the transcript. The value matches the end time of a word from the `timestamps` array.
public Long getSpeaker()
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.
public Float getConfidence()
A score that indicates the service's confidence in its identification of the speaker in the range of 0.0 to 1.0.
public Boolean isXFinal()
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.
Copyright © 2022 IBM Cloud. All rights reserved.