Compartir a través de


LabeledUtterance Clase

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

public class LabeledUtterance

Un par de predicción y etiqueta de un ejemplo.

Resumen del método

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

Obtiene el valor entityLabels.

List<EntityPrediction> entityPredictions()

Obtenga el valor entityPredictions.

Integer id()

Obtenga el valor de id.

String intentLabel()

Obtiene el valor intentLabel.

List<IntentPrediction> intentPredictions()

Obtenga el valor intentPredictions.

String text()

Obtiene el valor de texto.

List<String> tokenizedText()

Obtiene el valor tokenizedText.

LabeledUtterance withEntityLabels(List<EntityLabel> entityLabels)

Establezca el valor entityLabels.

LabeledUtterance withEntityPredictions(List<EntityPrediction> entityPredictions)

Establezca el valor entityPredictions.

LabeledUtterance withId(Integer id)

Establezca el valor de id.

LabeledUtterance withIntentLabel(String intentLabel)

Establezca el valor intentLabel.

LabeledUtterance withIntentPredictions(List<IntentPrediction> intentPredictions)

Establezca el valor intentPredictions.

LabeledUtterance withText(String text)

Establezca el valor de texto.

LabeledUtterance withTokenizedText(List<String> tokenizedText)

Establezca el valor tokenizedText.

Detalles del método

entityLabels

public List entityLabels()

Obtiene el valor entityLabels.

Returns:

el valor entityLabels

entityPredictions

public List entityPredictions()

Obtenga el valor entityPredictions.

Returns:

el valor entityPredictions

id

public Integer id()

Obtenga el valor de id.

Returns:

el valor de id.

intentLabel

public String intentLabel()

Obtiene el valor intentLabel.

Returns:

el valor intentLabel

intentPredictions

public List intentPredictions()

Obtenga el valor intentPredictions.

Returns:

el valor intentPredictions

text

public String text()

Obtiene el valor de texto.

Returns:

el valor de texto

tokenizedText

public List tokenizedText()

Obtiene el valor tokenizedText.

Returns:

el valor de tokenizedText

withEntityLabels

public LabeledUtterance withEntityLabels(List entityLabels)

Establezca el valor entityLabels.

Parameters:

entityLabels - valor entityLabels que se va a establecer

Returns:

El propio objeto LabeledUtterance.

withEntityPredictions

public LabeledUtterance withEntityPredictions(List entityPredictions)

Establezca el valor entityPredictions.

Parameters:

entityPredictions - valor entityPredictions que se va a establecer

Returns:

El propio objeto LabeledUtterance.

withId

public LabeledUtterance withId(Integer id)

Establezca el valor de id.

Parameters:

id - el valor de id que se va a establecer

Returns:

El propio objeto LabeledUtterance.

withIntentLabel

public LabeledUtterance withIntentLabel(String intentLabel)

Establezca el valor intentLabel.

Parameters:

intentLabel - valor intentLabel que se va a establecer

Returns:

El propio objeto LabeledUtterance.

withIntentPredictions

public LabeledUtterance withIntentPredictions(List intentPredictions)

Establezca el valor intentPredictions.

Parameters:

intentPredictions - valor intentPredictions que se va a establecer

Returns:

El propio objeto LabeledUtterance.

withText

public LabeledUtterance withText(String text)

Establezca el valor de texto.

Parameters:

text - el valor de texto que se va a establecer

Returns:

El propio objeto LabeledUtterance.

withTokenizedText

public LabeledUtterance withTokenizedText(List tokenizedText)

Establezca el valor tokenizedText.

Parameters:

tokenizedText - el valor tokenizedText que se va a establecer

Returns:

El propio objeto LabeledUtterance.

Se aplica a