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.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a CreateTokenizationDictionaryOptions builder
    • environmentId

      public String environmentId()
      Gets the environmentId.

      The ID of the environment.

      Returns:
      the environmentId
    • collectionId

      public String collectionId()
      Gets the collectionId.

      The ID of the collection.

      Returns:
      the collectionId
    • tokenizationRules

      public List<TokenDictRule> 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