Class CreateTokenizationDictionaryOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.CreateTokenizationDictionaryOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateTokenizationDictionaryOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createTokenizationDictionary options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateTokenizationDictionaryOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
collectionId()
Gets the collectionId.String
environmentId()
Gets the environmentId.CreateTokenizationDictionaryOptions.Builder
newBuilder()
New builder.List<TokenDictRule>
tokenizationRules()
Gets the tokenizationRules.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateTokenizationDictionaryOptions builder
-
environmentId
Gets the environmentId.The ID of the environment.
- Returns:
- the environmentId
-
collectionId
Gets the collectionId.The ID of the collection.
- Returns:
- the collectionId
-
tokenizationRules
Gets the 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.
- Returns:
- the tokenizationRules
-