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 |
force(Boolean force)
Set the force.
|
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 strictpublic TrainLanguageModelOptions.Builder force(Boolean force)
force
- the forceCopyright © 2024 IBM Cloud. All rights reserved.