Compartir a través de


JSONEntity Clase

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

public class JSONEntity

Modelo exportado: entidad extraída de la expresión.

Resumen del método

Modificador y tipo Método y descripción
List<JSONEntity> children()

Obtiene el valor secundario.

int endPos()

Obtenga el valor endPos.

String entity()

Obtenga el valor de la entidad.

String role()

Obtenga el valor del rol.

int startPos()

Obtenga el valor startPos.

JSONEntity withChildren(List<JSONEntity> children)

Establezca el valor secundario.

JSONEntity withEndPos(int endPos)

Establezca el valor endPos.

JSONEntity withEntity(String entity)

Establezca el valor de la entidad.

JSONEntity withRole(String role)

Establezca el valor del rol.

JSONEntity withStartPos(int startPos)

Establezca el valor startPos.

Detalles del método

children

public List children()

Obtiene el valor secundario.

Returns:

el valor secundario

endPos

public int endPos()

Obtenga el valor endPos.

Returns:

el valor endPos

entity

public String entity()

Obtenga el valor de la entidad.

Returns:

el valor de la entidad

role

public String role()

Obtenga el valor del rol.

Returns:

el valor del rol

startPos

public int startPos()

Obtenga el valor startPos.

Returns:

el valor startPos

withChildren

public JSONEntity withChildren(List children)

Establezca el valor secundario.

Parameters:

children - el valor secundario que se va a establecer

Returns:

el propio objeto JSONEntity.

withEndPos

public JSONEntity withEndPos(int endPos)

Establezca el valor endPos.

Parameters:

endPos - valor endPos que se va a establecer

Returns:

el propio objeto JSONEntity.

withEntity

public JSONEntity withEntity(String entity)

Establezca el valor de la entidad.

Parameters:

entity - valor de entidad que se va a establecer

Returns:

el propio objeto JSONEntity.

withRole

public JSONEntity withRole(String role)

Establezca el valor del rol.

Parameters:

role - valor de rol que se va a establecer

Returns:

el propio objeto JSONEntity.

withStartPos

public JSONEntity withStartPos(int startPos)

Establezca el valor startPos.

Parameters:

startPos - valor startPos que se va a establecer

Returns:

el propio objeto JSONEntity.

Se aplica a