Class EntitiesSuggestionExample
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntitiesSuggestionExample
-
public class EntitiesSuggestionExample extends Object
Predicted/suggested entity.
-
-
Constructor Summary
Constructors Constructor Description EntitiesSuggestionExample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
text
public String text()
Get the text value.- Returns:
- the text value
-
withText
public EntitiesSuggestionExample withText(String text)
Set the text value.- Parameters:
text
- the text value to set- Returns:
- the EntitiesSuggestionExample object itself.
-
tokenizedText
public List<String> tokenizedText()
Get the tokenizedText value.- Returns:
- the tokenizedText value
-
withTokenizedText
public EntitiesSuggestionExample withTokenizedText(List<String> tokenizedText)
Set the tokenizedText value.- Parameters:
tokenizedText
- the tokenizedText value to set- Returns:
- the EntitiesSuggestionExample object itself.
-
intentPredictions
public List<IntentPrediction> intentPredictions()
Get the intentPredictions value.- Returns:
- the intentPredictions value
-
withIntentPredictions
public EntitiesSuggestionExample withIntentPredictions(List<IntentPrediction> intentPredictions)
Set the intentPredictions value.- Parameters:
intentPredictions
- the intentPredictions value to set- Returns:
- the EntitiesSuggestionExample object itself.
-
entityPredictions
public List<EntityPrediction> entityPredictions()
Get the entityPredictions value.- Returns:
- the entityPredictions value
-
withEntityPredictions
public EntitiesSuggestionExample withEntityPredictions(List<EntityPrediction> entityPredictions)
Set the entityPredictions value.- Parameters:
entityPredictions
- the entityPredictions value to set- Returns:
- the EntitiesSuggestionExample object itself.
-
-