Class SupportedFeatures
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.SupportedFeatures
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SupportedFeatures
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Additional service features that are supported with the model.
-
Constructor Summary
Constructors Constructor Description SupportedFeatures()
-
Method Summary
Modifier and Type Method Description Boolean
isCustomLanguageModel()
Gets the customLanguageModel.Boolean
isLowLatency()
Gets the lowLatency.Boolean
isSpeakerLabels()
Gets the speakerLabels.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SupportedFeatures
public SupportedFeatures()
-
-
Method Details
-
isCustomLanguageModel
Gets the customLanguageModel.Indicates whether the customization interface can be used to create a custom language model based on the language model.
- Returns:
- the customLanguageModel
-
isSpeakerLabels
Gets the speakerLabels.Indicates whether the `speaker_labels` parameter can be used with the language model.
**Note:** The field returns `true` for all models. However, speaker labels are supported only for US English, Australian English, German, Japanese, Korean, and Spanish (both broadband and narrowband models) and UK English (narrowband model only). Speaker labels are not supported for any other models.
- Returns:
- the speakerLabels
-
isLowLatency
Gets the lowLatency.Indicates whether the `low_latency` parameter can be used with a next-generation language model. The field is returned only for next-generation models. Previous-generation models do not support the `low_latency` parameter.
- Returns:
- the lowLatency
-