Delen via


ExampleLabelObject Class

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

public class ExampleLabelObject

A labeled example utterance.

Method Summary

Modifier and Type Method and Description
List<EntityLabelObject> entityLabels()

Get the entityLabels value.

String intentName()

Get the intentName value.

String text()

Get the text value.

ExampleLabelObject withEntityLabels(List<EntityLabelObject> entityLabels)

Set the entityLabels value.

ExampleLabelObject withIntentName(String intentName)

Set the intentName value.

ExampleLabelObject withText(String text)

Set the text value.

Method Details

entityLabels

public List entityLabels()

Get the entityLabels value.

Returns:

the entityLabels value

intentName

public String intentName()

Get the intentName value.

Returns:

the intentName value

text

public String text()

Get the text value.

Returns:

the text value

withEntityLabels

public ExampleLabelObject withEntityLabels(List entityLabels)

Set the entityLabels value.

Parameters:

entityLabels - the entityLabels value to set

Returns:

the ExampleLabelObject object itself.

withIntentName

public ExampleLabelObject withIntentName(String intentName)

Set the intentName value.

Parameters:

intentName - the intentName value to set

Returns:

the ExampleLabelObject object itself.

withText

public ExampleLabelObject withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the ExampleLabelObject object itself.

Applies to