Compartilhar via


JSONEntity Classe

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

public class JSONEntity

Modelo Exportado – Entidade Extraída do enunciado.

Resumo do método

Modificador e tipo Método e descrição
List<JSONEntity> children()

Obtenha o valor filho.

int endPos()

Obtenha o valor endPos.

String entity()

Obter o valor da entidade.

String role()

Obter o valor da função.

int startPos()

Obtenha o valor startPos.

JSONEntity withChildren(List<JSONEntity> children)

Defina o valor filho.

JSONEntity withEndPos(int endPos)

Defina o valor endPos.

JSONEntity withEntity(String entity)

Defina o valor da entidade.

JSONEntity withRole(String role)

Defina o valor da função.

JSONEntity withStartPos(int startPos)

Defina o valor startPos.

Detalhes do método

children

public List children()

Obtenha o valor filho.

Returns:

o valor filho

endPos

public int endPos()

Obtenha o valor endPos.

Returns:

o valor endPos

entity

public String entity()

Obter o valor da entidade.

Returns:

o valor da entidade

role

public String role()

Obter o valor da função.

Returns:

o valor da função

startPos

public int startPos()

Obtenha o valor startPos.

Returns:

o valor startPos

withChildren

public JSONEntity withChildren(List children)

Defina o valor filho.

Parameters:

children - o valor filho a ser definido

Returns:

o próprio objeto JSONEntity.

withEndPos

public JSONEntity withEndPos(int endPos)

Defina o valor endPos.

Parameters:

endPos - o valor endPos a ser definido

Returns:

o próprio objeto JSONEntity.

withEntity

public JSONEntity withEntity(String entity)

Defina o valor da entidade.

Parameters:

entity - o valor da entidade a ser definido

Returns:

o próprio objeto JSONEntity.

withRole

public JSONEntity withRole(String role)

Defina o valor da função.

Parameters:

role - o valor da função a ser definido

Returns:

o próprio objeto JSONEntity.

withStartPos

public JSONEntity withStartPos(int startPos)

Defina o valor startPos.

Parameters:

startPos - o valor startPos a ser definido

Returns:

o próprio objeto JSONEntity.

Aplica-se a