EntitiesSuggestionExample Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. EntitiesSuggestionExample
- com.
public class EntitiesSuggestionExample
Predicted/suggested entity.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Entity |
entityPredictions()
Get the entityPredictions value. |
List<Intent |
intentPredictions()
Get the intentPredictions value. |
String |
text()
Get the text value. |
List<String> |
tokenizedText()
Get the tokenizedText value. |
Entities |
withEntityPredictions(List<EntityPrediction> entityPredictions)
Set the entityPredictions value. |
Entities |
withIntentPredictions(List<IntentPrediction> intentPredictions)
Set the intentPredictions value. |
Entities |
withText(String text)
Set the text value. |
Entities |
withTokenizedText(List<String> tokenizedText)
Set the tokenizedText value. |
Method Details
entityPredictions
public List
Get the entityPredictions value.
Returns:
intentPredictions
public List
Get the intentPredictions value.
Returns:
text
public String text()
Get the text value.
Returns:
tokenizedText
public List
Get the tokenizedText value.
Returns:
withEntityPredictions
public EntitiesSuggestionExample withEntityPredictions(List
Set the entityPredictions value.
Parameters:
Returns:
withIntentPredictions
public EntitiesSuggestionExample withIntentPredictions(List
Set the intentPredictions value.
Parameters:
Returns:
withText
public EntitiesSuggestionExample withText(String text)
Set the text value.
Parameters:
Returns:
withTokenizedText
public EntitiesSuggestionExample withTokenizedText(List
Set the tokenizedText value.
Parameters:
Returns: