public class EntityMention
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
intent |
protected java.util.List<java.lang.Long> |
location |
protected java.lang.String |
text |
Constructor and Description |
---|
EntityMention() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIntent()
Gets the intent.
|
java.util.List<java.lang.Long> |
getLocation()
Gets the location.
|
java.lang.String |
getText()
Gets the text.
|
protected java.lang.String text
protected java.lang.String intent
protected java.util.List<java.lang.Long> location
public java.lang.String getText()
The text of the user input example.
public java.lang.String getIntent()
The name of the intent.
public java.util.List<java.lang.Long> getLocation()
An array of zero-based character offsets that indicate where the entity mentions begin and end in the input text.