Class SpeechModel
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.SpeechModel
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SpeechModel
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about an available language model.
-
Constructor Summary
Constructors Constructor Description SpeechModel() -
Method Summary
Modifier and Type Method Description StringgetDescription()Gets the description.StringgetLanguage()Gets the language.StringgetName()Gets the name.LonggetRate()Gets the rate.SupportedFeaturesgetSupportedFeatures()Gets the supportedFeatures.StringgetUrl()Gets the url.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SpeechModel
public SpeechModel()
-
-
Method Details
-
getName
Gets the name.The name of the model for use as an identifier in calls to the service (for example, `en-US_BroadbandModel`).
- Returns:
- the name
-
getLanguage
Gets the language.The language identifier of the model (for example, `en-US`).
- Returns:
- the language
-
getRate
Gets the rate.The sampling rate (minimum acceptable rate for audio) used by the model in Hertz.
- Returns:
- the rate
-
getUrl
Gets the url.The URI for the model.
- Returns:
- the url
-
getSupportedFeatures
Gets the supportedFeatures.Additional service features that are supported with the model.
- Returns:
- the supportedFeatures
-
getDescription
Gets the description.A brief description of the model.
- Returns:
- the description
-