public class SupportedFeatures
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
customLanguageModel |
protected java.lang.Boolean |
speakerLabels |
Constructor and Description |
---|
SupportedFeatures() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
isCustomLanguageModel()
Gets the customLanguageModel.
|
java.lang.Boolean |
isSpeakerLabels()
Gets the speakerLabels.
|
@SerializedName(value="custom_language_model") protected java.lang.Boolean customLanguageModel
@SerializedName(value="speaker_labels") protected java.lang.Boolean speakerLabels
public java.lang.Boolean isCustomLanguageModel()
Indicates whether the customization interface can be used to create a custom language model based on the language model.
public java.lang.Boolean isSpeakerLabels()
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.