JSONEntity Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. JSONEntity
- com.
public class JSONEntity
Exported Model - Extracted Entity from utterance.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<JSONEntity> |
children()
Get the children value. |
int |
endPos()
Get the endPos value. |
String |
entity()
Get the entity value. |
String |
role()
Get the role value. |
int |
startPos()
Get the startPos value. |
JSONEntity |
withChildren(List<JSONEntity> children)
Set the children value. |
JSONEntity |
withEndPos(int endPos)
Set the endPos value. |
JSONEntity |
withEntity(String entity)
Set the entity value. |
JSONEntity |
withRole(String role)
Set the role value. |
JSONEntity |
withStartPos(int startPos)
Set the startPos value. |
Method Details
children
public List
Get the children value.
Returns:
endPos
public int endPos()
Get the endPos value.
Returns:
entity
public String entity()
Get the entity value.
Returns:
role
public String role()
Get the role value.
Returns:
startPos
public int startPos()
Get the startPos value.
Returns:
withChildren
public JSONEntity withChildren(List
Set the children value.
Parameters:
Returns:
withEndPos
public JSONEntity withEndPos(int endPos)
Set the endPos value.
Parameters:
Returns:
withEntity
public JSONEntity withEntity(String entity)
Set the entity value.
Parameters:
Returns:
withRole
public JSONEntity withRole(String role)
Set the role value.
Parameters:
Returns:
withStartPos
public JSONEntity withStartPos(int startPos)
Set the startPos value.
Parameters:
Returns:
Applies to
Azure SDK for Java