Class ClassificationsOptions

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

public class ClassificationsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Returns text classifications for the content.

Supported languages: English only.

  • Method Details

    • newBuilder

      public ClassificationsOptions.Builder newBuilder()
      New builder.
      Returns:
      a ClassificationsOptions builder
    • model

      public String model()
      Gets the model.

      (Beta) Enter a [custom model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing) ID of the classification model to be used.

      Returns:
      the model