Compartilhar via


EntityLabelObject Classe

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

public class EntityLabelObject

Define o tipo de entidade e a posição da entidade extraída no exemplo.

Resumo do método

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

Obtenha o valor filho.

int endCharIndex()

Obtenha o valor endCharIndex.

String entityName()

Obtenha o valor entityName.

String role()

Obtenha o valor da função.

int startCharIndex()

Obtenha o valor startCharIndex.

EntityLabelObject withChildren(List<EntityLabelObject> children)

Defina o valor filho.

EntityLabelObject withEndCharIndex(int endCharIndex)

Defina o valor endCharIndex.

EntityLabelObject withEntityName(String entityName)

Defina o valor entityName.

EntityLabelObject withRole(String role)

Defina o valor da função.

EntityLabelObject withStartCharIndex(int startCharIndex)

Defina o valor startCharIndex.

Detalhes do método

children

public List children()

Obtenha o valor filho.

Returns:

o valor filho

endCharIndex

public int endCharIndex()

Obtenha o valor endCharIndex.

Returns:

o valor endCharIndex

entityName

public String entityName()

Obtenha o valor entityName.

Returns:

o valor entityName

role

public String role()

Obtenha o valor da função.

Returns:

o valor da função

startCharIndex

public int startCharIndex()

Obtenha o valor startCharIndex.

Returns:

o valor startCharIndex

withChildren

public EntityLabelObject withChildren(List children)

Defina o valor filho.

Parameters:

children - o valor filho a ser definido

Returns:

o próprio objeto EntityLabelObject.

withEndCharIndex

public EntityLabelObject withEndCharIndex(int endCharIndex)

Defina o valor endCharIndex.

Parameters:

endCharIndex - o valor endCharIndex a ser definido

Returns:

o próprio objeto EntityLabelObject.

withEntityName

public EntityLabelObject withEntityName(String entityName)

Defina o valor entityName.

Parameters:

entityName - o valor entityName a ser definido

Returns:

o próprio objeto EntityLabelObject.

withRole

public EntityLabelObject withRole(String role)

Defina o valor da função.

Parameters:

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

Returns:

o próprio objeto EntityLabelObject.

withStartCharIndex

public EntityLabelObject withStartCharIndex(int startCharIndex)

Defina o valor startCharIndex.

Parameters:

startCharIndex - o valor startCharIndex a ser definido

Returns:

o próprio objeto EntityLabelObject.

Aplica-se a