EntityModel Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. runtime. models. EntityModel
- com.
public class EntityModel
An entity extracted from the utterance.
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String, Object> |
additionalProperties()
Get the additionalProperties value. |
int |
endIndex()
Get the endIndex value. |
String |
entity()
Get the entity value. |
int |
startIndex()
Get the startIndex value. |
String |
type()
Get the type value. |
Entity |
withAdditionalProperties(Map<String, Object> additionalProperties)
Set the additionalProperties value. |
Entity |
withEndIndex(int endIndex)
Set the endIndex value. |
Entity |
withEntity(String entity)
Set the entity value. |
Entity |
withStartIndex(int startIndex)
Set the startIndex value. |
Entity |
withType(String type)
Set the type value. |
Method Details
additionalProperties
public Map
Get the additionalProperties value.
Returns:
endIndex
public int endIndex()
Get the endIndex value.
Returns:
entity
public String entity()
Get the entity value.
Returns:
startIndex
public int startIndex()
Get the startIndex value.
Returns:
type
public String type()
Get the type value.
Returns:
withAdditionalProperties
public EntityModel withAdditionalProperties(Map
Set the additionalProperties value.
Parameters:
Returns:
withEndIndex
public EntityModel withEndIndex(int endIndex)
Set the endIndex value.
Parameters:
Returns:
withEntity
public EntityModel withEntity(String entity)
Set the entity value.
Parameters:
Returns:
withStartIndex
public EntityModel withStartIndex(int startIndex)
Set the startIndex value.
Parameters:
Returns:
withType
public EntityModel withType(String type)
Set the type value.
Parameters:
Returns:
Applies to
Azure SDK for Java