public static class TrainLanguageModelOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String customizationId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
TrainLanguageModelOptions |
build()
Builds a TrainLanguageModelOptions.
|
TrainLanguageModelOptions.Builder |
customizationId(String customizationId)
Set the customizationId.
|
TrainLanguageModelOptions.Builder |
customizationWeight(Double customizationWeight)
Set the customizationWeight.
|
TrainLanguageModelOptions.Builder |
wordTypeToAdd(String wordTypeToAdd)
Set the wordTypeToAdd.
|
public Builder()
public Builder(String customizationId)
customizationId
- the customizationIdpublic TrainLanguageModelOptions build()
public TrainLanguageModelOptions.Builder customizationId(String customizationId)
customizationId
- the customizationIdpublic TrainLanguageModelOptions.Builder wordTypeToAdd(String wordTypeToAdd)
wordTypeToAdd
- the wordTypeToAddpublic TrainLanguageModelOptions.Builder customizationWeight(Double customizationWeight)
customizationWeight
- the customizationWeightCopyright © 2021 IBM Cloud. All rights reserved.