public class EntitiesResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
Double |
getConfidence()
Gets the confidence.
|
Long |
getCount()
Gets the count.
|
DisambiguationResult |
getDisambiguation()
Gets the disambiguation.
|
EmotionScores |
getEmotion()
Gets the emotion.
|
List<EntityMention> |
getMentions()
Gets the mentions.
|
Double |
getRelevance()
Gets the relevance.
|
FeatureSentimentResults |
getSentiment()
Gets the sentiment.
|
String |
getText()
Gets the text.
|
String |
getType()
Gets the type.
|
public String getType()
Entity type.
public String getText()
The name of the entity.
public Double getRelevance()
Relevance score from 0 to 1. Higher values indicate greater relevance.
public Double getConfidence()
Confidence in the entity identification from 0 to 1. Higher values indicate higher confidence. In standard entities requests, confidence is returned only for English text. All entities requests that use custom models return the confidence score.
public List<EntityMention> getMentions()
Entity mentions and locations.
public Long getCount()
How many times the entity was mentioned in the text.
public EmotionScores getEmotion()
Emotion analysis results for the entity, enabled with the `emotion` option.
public FeatureSentimentResults getSentiment()
Sentiment analysis results for the entity, enabled with the `sentiment` option.
public DisambiguationResult getDisambiguation()
Disambiguation information for the entity.
Copyright © 2023 IBM Cloud. All rights reserved.