你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExampleLabelObject 类

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

public class ExampleLabelObject

带标签的示例言语。

方法摘要

修饰符和类型 方法和描述
List<EntityLabelObject> entityLabels()

获取 entityLabels 值。

String intentName()

获取 intentName 值。

String text()

获取文本值。

ExampleLabelObject withEntityLabels(List<EntityLabelObject> entityLabels)

设置 entityLabels 值。

ExampleLabelObject withIntentName(String intentName)

设置 intentName 值。

ExampleLabelObject withText(String text)

设置文本值。

方法详细信息

entityLabels

public List entityLabels()

获取 entityLabels 值。

Returns:

entityLabels 值

intentName

public String intentName()

获取 intentName 值。

Returns:

intentName 值

text

public String text()

获取文本值。

Returns:

文本值

withEntityLabels

public ExampleLabelObject withEntityLabels(List entityLabels)

设置 entityLabels 值。

Parameters:

entityLabels - 要设置的 entityLabels 值

Returns:

ExampleLabelObject 对象本身。

withIntentName

public ExampleLabelObject withIntentName(String intentName)

设置 intentName 值。

Parameters:

intentName - 要设置的 intentName 值

Returns:

ExampleLabelObject 对象本身。

withText

public ExampleLabelObject withText(String text)

设置文本值。

Parameters:

text - 要设置的文本值

Returns:

ExampleLabelObject 对象本身。

适用于