LabeledUtterance Classe
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. LabeledUtterance
- com.
public class LabeledUtterance
Um par de previsão e rótulo de um exemplo.
Resumo do método
Detalhes do método
entityLabels
public List
Obtenha o valor entityLabels.
Returns:
entityPredictions
public List
Obtenha o valor entityPredictions.
Returns:
id
public Integer id()
Obtenha o valor da ID.
Returns:
intentLabel
public String intentLabel()
Obtenha o valor intentLabel.
Returns:
intentPredictions
public List
Obtenha o valor intentPredictions.
Returns:
text
public String text()
Obtenha o valor do texto.
Returns:
tokenizedText
public List
Obtenha o valor tokenizedText.
Returns:
withEntityLabels
public LabeledUtterance withEntityLabels(List
Defina o valor entityLabels.
Parameters:
Returns:
withEntityPredictions
public LabeledUtterance withEntityPredictions(List
Defina o valor entityPredictions.
Parameters:
Returns:
withId
public LabeledUtterance withId(Integer id)
Defina o valor da ID.
Parameters:
Returns:
withIntentLabel
public LabeledUtterance withIntentLabel(String intentLabel)
Defina o valor intentLabel.
Parameters:
Returns:
withIntentPredictions
public LabeledUtterance withIntentPredictions(List
Defina o valor intentPredictions.
Parameters:
Returns:
withText
public LabeledUtterance withText(String text)
Defina o valor do texto.
Parameters:
Returns:
withTokenizedText
public LabeledUtterance withTokenizedText(List
Defina o valor tokenizedText.
Parameters:
Returns:
Aplica-se a
Azure SDK for Java