Compartir a través de


EntityLabel Clase

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

public class EntityLabel

Define el tipo de entidad y la posición de la entidad extraída en el ejemplo.

Resumen del método

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

Obtiene el valor secundario.

int endTokenIndex()

Obtiene el valor endTokenIndex.

String entityName()

Obtenga el valor entityName.

String role()

Obtenga el valor del rol.

UUID roleId()

Obtenga el valor roleId.

int startTokenIndex()

Obtenga el valor startTokenIndex.

EntityLabel withChildren(List<EntityLabel> children)

Establezca el valor secundario.

EntityLabel withEndTokenIndex(int endTokenIndex)

Establezca el valor endTokenIndex.

EntityLabel withEntityName(String entityName)

Establezca el valor entityName.

EntityLabel withRole(String role)

Establezca el valor del rol.

EntityLabel withRoleId(UUID roleId)

Establezca el valor roleId.

EntityLabel withStartTokenIndex(int startTokenIndex)

Establezca el valor startTokenIndex.

Detalles del método

children

public List children()

Obtiene el valor secundario.

Returns:

el valor secundario

endTokenIndex

public int endTokenIndex()

Obtiene el valor endTokenIndex.

Returns:

el valor endTokenIndex

entityName

public String entityName()

Obtenga el valor entityName.

Returns:

el valor entityName

role

public String role()

Obtenga el valor del rol.

Returns:

el valor del rol

roleId

public UUID roleId()

Obtenga el valor roleId.

Returns:

el valor roleId

startTokenIndex

public int startTokenIndex()

Obtenga el valor startTokenIndex.

Returns:

el valor startTokenIndex

withChildren

public EntityLabel withChildren(List children)

Establezca el valor secundario.

Parameters:

children - el valor secundario que se va a establecer

Returns:

El propio objeto EntityLabel.

withEndTokenIndex

public EntityLabel withEndTokenIndex(int endTokenIndex)

Establezca el valor endTokenIndex.

Parameters:

endTokenIndex - valor endTokenIndex que se va a establecer

Returns:

El propio objeto EntityLabel.

withEntityName

public EntityLabel withEntityName(String entityName)

Establezca el valor entityName.

Parameters:

entityName - valor entityName que se va a establecer

Returns:

El propio objeto EntityLabel.

withRole

public EntityLabel withRole(String role)

Establezca el valor del rol.

Parameters:

role - valor de rol que se va a establecer

Returns:

El propio objeto EntityLabel.

withRoleId

public EntityLabel withRoleId(UUID roleId)

Establezca el valor roleId.

Parameters:

roleId - el valor roleId que se va a establecer

Returns:

El propio objeto EntityLabel.

withStartTokenIndex

public EntityLabel withStartTokenIndex(int startTokenIndex)

Establezca el valor startTokenIndex.

Parameters:

startTokenIndex - valor startTokenIndex que se va a establecer

Returns:

El propio objeto EntityLabel.

Se aplica a