Class EntityLabelObject
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntityLabelObject
-
public class EntityLabelObject extends Object
Defines the entity type and position of the extracted entity within the example.
-
-
Constructor Summary
Constructors Constructor Description EntityLabelObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EntityLabelObject>
children()
Get the children value.int
endCharIndex()
Get the endCharIndex value.String
entityName()
Get the entityName value.String
role()
Get the role value.int
startCharIndex()
Get the startCharIndex value.EntityLabelObject
withChildren(List<EntityLabelObject> children)
Set the children value.EntityLabelObject
withEndCharIndex(int endCharIndex)
Set the endCharIndex value.EntityLabelObject
withEntityName(String entityName)
Set the entityName value.EntityLabelObject
withRole(String role)
Set the role value.EntityLabelObject
withStartCharIndex(int startCharIndex)
Set the startCharIndex value.
-
-
-
Method Detail
-
entityName
public String entityName()
Get the entityName value.- Returns:
- the entityName value
-
withEntityName
public EntityLabelObject withEntityName(String entityName)
Set the entityName value.- Parameters:
entityName
- the entityName value to set- Returns:
- the EntityLabelObject object itself.
-
startCharIndex
public int startCharIndex()
Get the startCharIndex value.- Returns:
- the startCharIndex value
-
withStartCharIndex
public EntityLabelObject withStartCharIndex(int startCharIndex)
Set the startCharIndex value.- Parameters:
startCharIndex
- the startCharIndex value to set- Returns:
- the EntityLabelObject object itself.
-
endCharIndex
public int endCharIndex()
Get the endCharIndex value.- Returns:
- the endCharIndex value
-
withEndCharIndex
public EntityLabelObject withEndCharIndex(int endCharIndex)
Set the endCharIndex value.- Parameters:
endCharIndex
- the endCharIndex value to set- Returns:
- the EntityLabelObject object itself.
-
role
public String role()
Get the role value.- Returns:
- the role value
-
withRole
public EntityLabelObject withRole(String role)
Set the role value.- Parameters:
role
- the role value to set- Returns:
- the EntityLabelObject object itself.
-
children
public List<EntityLabelObject> children()
Get the children value.- Returns:
- the children value
-
withChildren
public EntityLabelObject withChildren(List<EntityLabelObject> children)
Set the children value.- Parameters:
children
- the children value to set- Returns:
- the EntityLabelObject object itself.
-
-