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

EntitiesSuggestionExample 类

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

public class EntitiesSuggestionExample

预测/建议的实体。

方法摘要

修饰符和类型 方法和描述
List<EntityPrediction> entityPredictions()

获取 entityPredictions 值。

List<IntentPrediction> intentPredictions()

获取 intentPredictions 值。

String text()

获取文本值。

List<String> tokenizedText()

获取 tokenizedText 值。

EntitiesSuggestionExample withEntityPredictions(List<EntityPrediction> entityPredictions)

设置 entityPredictions 值。

EntitiesSuggestionExample withIntentPredictions(List<IntentPrediction> intentPredictions)

设置 intentPredictions 值。

EntitiesSuggestionExample withText(String text)

设置文本值。

EntitiesSuggestionExample withTokenizedText(List<String> tokenizedText)

设置 tokenizedText 值。

方法详细信息

entityPredictions

public List entityPredictions()

获取 entityPredictions 值。

Returns:

entityPredictions 值

intentPredictions

public List intentPredictions()

获取 intentPredictions 值。

Returns:

intentPredictions 值

text

public String text()

获取文本值。

Returns:

文本值

tokenizedText

public List tokenizedText()

获取 tokenizedText 值。

Returns:

tokenizedText 值

withEntityPredictions

public EntitiesSuggestionExample withEntityPredictions(List entityPredictions)

设置 entityPredictions 值。

Parameters:

entityPredictions - 要设置的 entityPredictions 值

Returns:

EntitiesSuggestionExample 对象本身。

withIntentPredictions

public EntitiesSuggestionExample withIntentPredictions(List intentPredictions)

设置 intentPredictions 值。

Parameters:

intentPredictions - 要设置的 intentPredictions 值

Returns:

EntitiesSuggestionExample 对象本身。

withText

public EntitiesSuggestionExample withText(String text)

设置文本值。

Parameters:

text - 要设置的文本值

Returns:

EntitiesSuggestionExample 对象本身。

withTokenizedText

public EntitiesSuggestionExample withTokenizedText(List tokenizedText)

设置 tokenizedText 值。

Parameters:

tokenizedText - 要设置的 tokenizedText 值

Returns:

EntitiesSuggestionExample 对象本身。

适用于