Class EntityMention
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.EntityMention
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class EntityMention
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object describing a contextual entity mention.
-
Constructor Summary
Constructors Constructor Description EntityMention()
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
EntityMention
public EntityMention()
-
-
Method Details
-
getText
Gets the text.The text of the user input example.
- Returns:
- the text
-
getIntent
Gets the intent.The name of the intent.
- Returns:
- the intent
-
getLocation
Gets the location.An array of zero-based character offsets that indicate where the entity mentions begin and end in the input text.
- Returns:
- the location
-