public class EntitiesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Supported languages: English, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Swedish. Arabic, Chinese, and Dutch are supported only through custom models.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | EntitiesOptions.BuilderBuilder. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | emotion()Gets the emotion. | 
| Long | limit()Gets the limit. | 
| Boolean | mentions()Gets the mentions. | 
| String | model()Gets the model. | 
| EntitiesOptions.Builder | newBuilder()New builder. | 
| Boolean | sentiment()Gets the sentiment. | 
public EntitiesOptions.Builder newBuilder()
public Long limit()
Maximum number of entities to return.
public Boolean mentions()
Set this to `true` to return locations of entity mentions.
public String model()
Enter a [custom model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing) ID to override the standard entity detection model.
public Boolean sentiment()
Set this to `true` to return sentiment information for detected entities.
public Boolean emotion()
Set this to `true` to analyze emotion for detected keywords.
Copyright © 2023 IBM Cloud. All rights reserved.