public class CreateTokenizationDictionaryOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateTokenizationDictionaryOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.String |
environmentId |
protected java.util.List<TokenDictRule> |
tokenizationRules |
Modifier | Constructor and Description |
---|---|
protected |
CreateTokenizationDictionaryOptions(CreateTokenizationDictionaryOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.String |
environmentId()
Gets the environmentId.
|
CreateTokenizationDictionaryOptions.Builder |
newBuilder()
New builder.
|
java.util.List<TokenDictRule> |
tokenizationRules()
Gets the tokenizationRules.
|
protected java.lang.String environmentId
protected java.lang.String collectionId
protected java.util.List<TokenDictRule> tokenizationRules
protected CreateTokenizationDictionaryOptions(CreateTokenizationDictionaryOptions.Builder builder)
public CreateTokenizationDictionaryOptions.Builder newBuilder()
public java.lang.String environmentId()
The ID of the environment.
public java.lang.String collectionId()
The ID of the collection.
public java.util.List<TokenDictRule> tokenizationRules()
An array of tokenization rules. Each rule contains, the original `text` string, component `tokens`, any alternate character set `readings`, and which `part_of_speech` the text is from.