public class TrainLanguageModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Class and Description |
|---|---|
static class |
TrainLanguageModelOptions.Builder
Builder.
|
static interface |
TrainLanguageModelOptions.WordTypeToAdd
The type of words from the custom language model's words resource on which to train the model:
* `all` (the default) trains the model on all new words, regardless of whether they were extracted from corpora or
grammars or were added or modified by the user.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
customizationId |
protected java.lang.Double |
customizationWeight |
protected java.lang.String |
wordTypeToAdd |
| Modifier | Constructor and Description |
|---|---|
protected |
TrainLanguageModelOptions(TrainLanguageModelOptions.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
customizationId()
Gets the customizationId.
|
java.lang.Double |
customizationWeight()
Gets the customizationWeight.
|
TrainLanguageModelOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
wordTypeToAdd()
Gets the wordTypeToAdd.
|
protected java.lang.String customizationId
protected java.lang.String wordTypeToAdd
protected java.lang.Double customizationWeight
protected TrainLanguageModelOptions(TrainLanguageModelOptions.Builder builder)
public TrainLanguageModelOptions.Builder newBuilder()
public java.lang.String customizationId()
public java.lang.String wordTypeToAdd()
public java.lang.Double customizationWeight()