LabeledUtterance Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. LabeledUtterance
- com.
public class LabeledUtterance
A prediction and label pair of an example.
Method Summary
Method Details
entityLabels
public List
Get the entityLabels value.
Returns:
entityPredictions
public List
Get the entityPredictions value.
Returns:
id
public Integer id()
Get the id value.
Returns:
intentLabel
public String intentLabel()
Get the intentLabel 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:
withEntityLabels
public LabeledUtterance withEntityLabels(List
Set the entityLabels value.
Parameters:
Returns:
withEntityPredictions
public LabeledUtterance withEntityPredictions(List
Set the entityPredictions value.
Parameters:
Returns:
withId
public LabeledUtterance withId(Integer id)
Set the id value.
Parameters:
Returns:
withIntentLabel
public LabeledUtterance withIntentLabel(String intentLabel)
Set the intentLabel value.
Parameters:
Returns:
withIntentPredictions
public LabeledUtterance withIntentPredictions(List
Set the intentPredictions value.
Parameters:
Returns:
withText
public LabeledUtterance withText(String text)
Set the text value.
Parameters:
Returns:
withTokenizedText
public LabeledUtterance withTokenizedText(List
Set the tokenizedText value.
Parameters:
Returns:
Applies to
Azure SDK for Java