public class EntityMention
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Method and Description | 
|---|---|
| Double | getConfidence()Gets the confidence. | 
| List<Long> | getLocation()Gets the location. | 
| String | getText()Gets the text. | 
public String getText()
Entity mention text.
public List<Long> getLocation()
Character offsets indicating the beginning and end of the mention in the analyzed text.
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.
Copyright © 2023 IBM Cloud. All rights reserved.