public class CreateAcousticModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
CreateAcousticModelOptions.BaseModelName
The name of the base language model that is to be customized by the new custom acoustic model.
|
static class |
CreateAcousticModelOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
baseModelName |
protected java.lang.String |
description |
protected java.lang.String |
name |
Modifier | Constructor and Description |
---|---|
protected |
CreateAcousticModelOptions(CreateAcousticModelOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
baseModelName()
Gets the baseModelName.
|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
name()
Gets the name.
|
CreateAcousticModelOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.String name
protected java.lang.String baseModelName
protected java.lang.String description
protected CreateAcousticModelOptions(CreateAcousticModelOptions.Builder builder)
public CreateAcousticModelOptions.Builder newBuilder()
public java.lang.String name()
A user-defined name for the new custom acoustic model. Use a name that is unique among all custom acoustic models that you own. Use a localized name that matches the language of the custom model. Use a name that describes the acoustic environment of the custom model, such as `Mobile custom model` or `Noisy car custom model`.
public java.lang.String baseModelName()
The name of the base language model that is to be customized by the new custom acoustic model. The new custom model can be used only with the base model that it customizes.
To determine whether a base model supports acoustic model customization, refer to [Language support for customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-customization#languageSupport).
public java.lang.String description()
A description of the new custom acoustic model. Use a localized description that matches the language of the custom model.