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 |
strict(Boolean strict)
Set the strict.
|
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 customizationWeightpublic TrainLanguageModelOptions.Builder strict(Boolean strict)
strict
- the strictCopyright © 2023 IBM Cloud. All rights reserved.