Class EntitiesOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.EntitiesOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class EntitiesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Identifies people, cities, organizations, and other entities in the content. For more
information, see [Entity types and
subtypes](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-entity-types).
Supported languages: English, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Swedish. Arabic, Chinese, and Dutch are supported only through custom models.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntitiesOptions.Builder
Builder. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a EntitiesOptions builder
-
limit
Gets the limit.Maximum number of entities to return.
- Returns:
- the limit
-
mentions
Gets the mentions.Set this to `true` to return locations of entity mentions.
- Returns:
- the mentions
-
model
Gets the 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.
- Returns:
- the model
-
sentiment
Gets the sentiment.Set this to `true` to return sentiment information for detected entities.
- Returns:
- the sentiment
-
emotion
Gets the emotion.Set this to `true` to analyze emotion for detected keywords.
- Returns:
- the emotion
-