共用方式為


JSONEntity Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.JSONEntity

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 children()

Get the children value.

Returns:

the children value

endPos

public int endPos()

Get the endPos value.

Returns:

the endPos value

entity

public String entity()

Get the entity value.

Returns:

the entity value

role

public String role()

Get the role value.

Returns:

the role value

startPos

public int startPos()

Get the startPos value.

Returns:

the startPos value

withChildren

public JSONEntity withChildren(List children)

Set the children value.

Parameters:

children - the children value to set

Returns:

the JSONEntity object itself.

withEndPos

public JSONEntity withEndPos(int endPos)

Set the endPos value.

Parameters:

endPos - the endPos value to set

Returns:

the JSONEntity object itself.

withEntity

public JSONEntity withEntity(String entity)

Set the entity value.

Parameters:

entity - the entity value to set

Returns:

the JSONEntity object itself.

withRole

public JSONEntity withRole(String role)

Set the role value.

Parameters:

role - the role value to set

Returns:

the JSONEntity object itself.

withStartPos

public JSONEntity withStartPos(int startPos)

Set the startPos value.

Parameters:

startPos - the startPos value to set

Returns:

the JSONEntity object itself.

Applies to