public static class TrainLanguageModelOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String customizationId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
TrainLanguageModelOptions |
build()
Builds a TrainLanguageModelOptions.
|
TrainLanguageModelOptions.Builder |
customizationId(java.lang.String customizationId)
Set the customizationId.
|
TrainLanguageModelOptions.Builder |
customizationWeight(java.lang.Double customizationWeight)
Set the customizationWeight.
|
TrainLanguageModelOptions.Builder |
wordTypeToAdd(java.lang.String wordTypeToAdd)
Set the wordTypeToAdd.
|
public Builder()
public Builder(java.lang.String customizationId)
customizationId
- the customizationIdpublic TrainLanguageModelOptions build()
public TrainLanguageModelOptions.Builder customizationId(java.lang.String customizationId)
customizationId
- the customizationIdpublic TrainLanguageModelOptions.Builder wordTypeToAdd(java.lang.String wordTypeToAdd)
wordTypeToAdd
- the wordTypeToAddpublic TrainLanguageModelOptions.Builder customizationWeight(java.lang.Double customizationWeight)
customizationWeight
- the customizationWeight