public class CategoriesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Supported languages: Arabic, English, French, German, Italian, Japanese, Korean, Portuguese, Spanish.
Modifier and Type | Class and Description |
---|---|
static class |
CategoriesOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
explanation()
Gets the explanation.
|
Long |
limit()
Gets the limit.
|
String |
model()
Gets the model.
|
CategoriesOptions.Builder |
newBuilder()
New builder.
|
public CategoriesOptions.Builder newBuilder()
public Boolean explanation()
Set this to `true` to return explanations for each categorization. **This is available only for English categories.**.
public Long limit()
Maximum number of categories to return.
public String model()
(Beta) Enter a [custom model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing) ID to override the standard categories model. **This is available only for English categories.**.
Copyright © 2021 IBM Cloud. All rights reserved.