Class DeleteWordOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.DeleteWordOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DeleteWordOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The deleteWord options.
  • Method Details

    • newBuilder

      public DeleteWordOptions.Builder newBuilder()
      New builder.
      Returns:
      a DeleteWordOptions builder
    • customizationId

      public String customizationId()
      Gets the customizationId.

      The customization ID (GUID) of the custom language model that is to be used for the request. You must make the request with credentials for the instance of the service that owns the custom model.

      Returns:
      the customizationId
    • wordName

      public String wordName()
      Gets the wordName.

      The custom word that is to be deleted from the custom language model. URL-encode the word if it includes non-ASCII characters. For more information, see [Character encoding](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-corporaWords#charEncoding).

      Returns:
      the wordName