Class KeywordResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.KeywordResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class KeywordResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about a match for a keyword from speech recognition results.
-
Constructor Summary
Constructors Constructor Description KeywordResult()
-
Method Summary
Modifier and Type Method Description Double
getConfidence()
Gets the confidence.Double
getEndTime()
Gets the endTime.String
getNormalizedText()
Gets the normalizedText.Double
getStartTime()
Gets the startTime.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
KeywordResult
public KeywordResult()
-
-
Method Details
-
getNormalizedText
Gets the normalizedText.A specified keyword normalized to the spoken phrase that matched in the audio input.
- Returns:
- the normalizedText
-
getStartTime
Gets the startTime.The start time in seconds of the keyword match.
- Returns:
- the startTime
-
getEndTime
Gets the endTime.The end time in seconds of the keyword match.
- Returns:
- the endTime
-
getConfidence
Gets the confidence.A confidence score for the keyword match in the range of 0.0 to 1.0.
- Returns:
- the confidence
-