Partilhar via


EntitiesSuggestionExample Classe

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

public class EntitiesSuggestionExample

Entidade prevista/sugerida.

Resumo do método

Modificador e tipo Método e descrição
List<EntityPrediction> entityPredictions()

Obtenha o valor entityPredictions.

List<IntentPrediction> intentPredictions()

Obtenha o valor intentPredictions.

String text()

Obtenha o valor do texto.

List<String> tokenizedText()

Obtenha o valor tokenizedText.

EntitiesSuggestionExample withEntityPredictions(List<EntityPrediction> entityPredictions)

Defina o valor entityPredictions.

EntitiesSuggestionExample withIntentPredictions(List<IntentPrediction> intentPredictions)

Defina o valor intentPredictions.

EntitiesSuggestionExample withText(String text)

Defina o valor do texto.

EntitiesSuggestionExample withTokenizedText(List<String> tokenizedText)

Defina o valor tokenizedText.

Detalhes do método

entityPredictions

public List entityPredictions()

Obtenha o valor entityPredictions.

Returns:

o valor entityPredictions

intentPredictions

public List intentPredictions()

Obtenha o valor intentPredictions.

Returns:

o valor intentPredictions

text

public String text()

Obtenha o valor do texto.

Returns:

o valor do texto

tokenizedText

public List tokenizedText()

Obtenha o valor tokenizedText.

Returns:

o valor tokenizedText

withEntityPredictions

public EntitiesSuggestionExample withEntityPredictions(List entityPredictions)

Defina o valor entityPredictions.

Parameters:

entityPredictions - o valor entityPredictions a ser definido

Returns:

o próprio objeto EntitiesSuggestionExample.

withIntentPredictions

public EntitiesSuggestionExample withIntentPredictions(List intentPredictions)

Defina o valor intentPredictions.

Parameters:

intentPredictions - o valor intentPredictions a ser definido

Returns:

o próprio objeto EntitiesSuggestionExample.

withText

public EntitiesSuggestionExample withText(String text)

Defina o valor do texto.

Parameters:

text - o valor de texto a ser definido

Returns:

o próprio objeto EntitiesSuggestionExample.

withTokenizedText

public EntitiesSuggestionExample withTokenizedText(List tokenizedText)

Defina o valor tokenizedText.

Parameters:

tokenizedText - o valor tokenizedText a ser definido

Returns:

o próprio objeto EntitiesSuggestionExample.

Aplica-se a