Compartilhar via


LabeledUtterance Classe

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

public class LabeledUtterance

Um par de previsão e rótulo de um exemplo.

Resumo do método

Modificador e tipo Método e descrição
List<EntityLabel> entityLabels()

Obtenha o valor entityLabels.

List<EntityPrediction> entityPredictions()

Obtenha o valor entityPredictions.

Integer id()

Obtenha o valor da ID.

String intentLabel()

Obtenha o valor intentLabel.

List<IntentPrediction> intentPredictions()

Obtenha o valor intentPredictions.

String text()

Obtenha o valor do texto.

List<String> tokenizedText()

Obtenha o valor tokenizedText.

LabeledUtterance withEntityLabels(List<EntityLabel> entityLabels)

Defina o valor entityLabels.

LabeledUtterance withEntityPredictions(List<EntityPrediction> entityPredictions)

Defina o valor entityPredictions.

LabeledUtterance withId(Integer id)

Defina o valor da ID.

LabeledUtterance withIntentLabel(String intentLabel)

Defina o valor intentLabel.

LabeledUtterance withIntentPredictions(List<IntentPrediction> intentPredictions)

Defina o valor intentPredictions.

LabeledUtterance withText(String text)

Defina o valor do texto.

LabeledUtterance withTokenizedText(List<String> tokenizedText)

Defina o valor tokenizedText.

Detalhes do método

entityLabels

public List entityLabels()

Obtenha o valor entityLabels.

Returns:

o valor entityLabels

entityPredictions

public List entityPredictions()

Obtenha o valor entityPredictions.

Returns:

o valor entityPredictions

id

public Integer id()

Obtenha o valor da ID.

Returns:

o valor da ID

intentLabel

public String intentLabel()

Obtenha o valor intentLabel.

Returns:

o valor intentLabel

intentPredictions

public List intentPredictions()

Obtenha o valor intentPredictions.

Returns:

o valor intentPredictions

text

public String text()

Obtenha o valor do texto.

Returns:

o valor do texto

tokenizedText

public List tokenizedText()

Obtenha o valor tokenizedText.

Returns:

o valor tokenizedText

withEntityLabels

public LabeledUtterance withEntityLabels(List entityLabels)

Defina o valor entityLabels.

Parameters:

entityLabels - o valor entityLabels a ser definido

Returns:

o próprio objeto LabeledUtterance.

withEntityPredictions

public LabeledUtterance withEntityPredictions(List entityPredictions)

Defina o valor entityPredictions.

Parameters:

entityPredictions - o valor entityPredictions a ser definido

Returns:

o próprio objeto LabeledUtterance.

withId

public LabeledUtterance withId(Integer id)

Defina o valor da ID.

Parameters:

id - o valor da ID a ser definido

Returns:

o próprio objeto LabeledUtterance.

withIntentLabel

public LabeledUtterance withIntentLabel(String intentLabel)

Defina o valor intentLabel.

Parameters:

intentLabel - o valor intentLabel a ser definido

Returns:

o próprio objeto LabeledUtterance.

withIntentPredictions

public LabeledUtterance withIntentPredictions(List intentPredictions)

Defina o valor intentPredictions.

Parameters:

intentPredictions - o valor intentPredictions a ser definido

Returns:

o próprio objeto LabeledUtterance.

withText

public LabeledUtterance withText(String text)

Defina o valor do texto.

Parameters:

text - o valor de texto a ser definido

Returns:

o próprio objeto LabeledUtterance.

withTokenizedText

public LabeledUtterance withTokenizedText(List tokenizedText)

Defina o valor tokenizedText.

Parameters:

tokenizedText - o valor tokenizedText a ser definido

Returns:

o próprio objeto LabeledUtterance.

Aplica-se a