EntitiesSuggestionExample Class

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

public class EntitiesSuggestionExample

Predicted/suggested entity.

Method Summary

Modifier and Type Method and Description
List<EntityPrediction> entityPredictions()

Get the entityPredictions value.

List<IntentPrediction> intentPredictions()

Get the intentPredictions value.

String text()

Get the text value.

List<String> tokenizedText()

Get the tokenizedText value.

EntitiesSuggestionExample withEntityPredictions(List<EntityPrediction> entityPredictions)

Set the entityPredictions value.

EntitiesSuggestionExample withIntentPredictions(List<IntentPrediction> intentPredictions)

Set the intentPredictions value.

EntitiesSuggestionExample withText(String text)

Set the text value.

EntitiesSuggestionExample withTokenizedText(List<String> tokenizedText)

Set the tokenizedText value.

Method Details

entityPredictions

public List entityPredictions()

Get the entityPredictions value.

Returns:

the entityPredictions value

intentPredictions

public List intentPredictions()

Get the intentPredictions value.

Returns:

the intentPredictions value

text

public String text()

Get the text value.

Returns:

the text value

tokenizedText

public List tokenizedText()

Get the tokenizedText value.

Returns:

the tokenizedText value

withEntityPredictions

public EntitiesSuggestionExample withEntityPredictions(List entityPredictions)

Set the entityPredictions value.

Parameters:

entityPredictions - the entityPredictions value to set

Returns:

the EntitiesSuggestionExample object itself.

withIntentPredictions

public EntitiesSuggestionExample withIntentPredictions(List intentPredictions)

Set the intentPredictions value.

Parameters:

intentPredictions - the intentPredictions value to set

Returns:

the EntitiesSuggestionExample object itself.

withText

public EntitiesSuggestionExample withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the EntitiesSuggestionExample object itself.

withTokenizedText

public EntitiesSuggestionExample withTokenizedText(List tokenizedText)

Set the tokenizedText value.

Parameters:

tokenizedText - the tokenizedText value to set

Returns:

the EntitiesSuggestionExample object itself.

Applies to