public class KeywordResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
confidence |
protected java.lang.Double |
endTime |
protected java.lang.String |
normalizedText |
protected java.lang.Double |
startTime |
Constructor and Description |
---|
KeywordResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getConfidence()
Gets the confidence.
|
java.lang.Double |
getEndTime()
Gets the endTime.
|
java.lang.String |
getNormalizedText()
Gets the normalizedText.
|
java.lang.Double |
getStartTime()
Gets the startTime.
|
@SerializedName(value="normalized_text") protected java.lang.String normalizedText
@SerializedName(value="start_time") protected java.lang.Double startTime
@SerializedName(value="end_time") protected java.lang.Double endTime
protected java.lang.Double confidence
public java.lang.String getNormalizedText()
A specified keyword normalized to the spoken phrase that matched in the audio input.
public java.lang.Double getStartTime()
The start time in seconds of the keyword match.
public java.lang.Double getEndTime()
The end time in seconds of the keyword match.
public java.lang.Double getConfidence()
A confidence score for the keyword match in the range of 0.0 to 1.0.