LabeledUtterance Clase
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. LabeledUtterance
- com.
public class LabeledUtterance
Un par de predicción y etiqueta de un ejemplo.
Resumen del método
Modificador y tipo | Método y descripción |
---|---|
List<Entity |
entityLabels()
Obtiene el valor entityLabels. |
List<Entity |
entityPredictions()
Obtenga el valor entityPredictions. |
Integer |
id()
Obtenga el valor de id. |
String |
intentLabel()
Obtiene el valor intentLabel. |
List<Intent |
intentPredictions()
Obtenga el valor intentPredictions. |
String |
text()
Obtiene el valor de texto. |
List<String> |
tokenizedText()
Obtiene el valor tokenizedText. |
Labeled |
withEntityLabels(List<EntityLabel> entityLabels)
Establezca el valor entityLabels. |
Labeled |
withEntityPredictions(List<EntityPrediction> entityPredictions)
Establezca el valor entityPredictions. |
Labeled |
withId(Integer id)
Establezca el valor de id. |
Labeled |
withIntentLabel(String intentLabel)
Establezca el valor intentLabel. |
Labeled |
withIntentPredictions(List<IntentPrediction> intentPredictions)
Establezca el valor intentPredictions. |
Labeled |
withText(String text)
Establezca el valor de texto. |
Labeled |
withTokenizedText(List<String> tokenizedText)
Establezca el valor tokenizedText. |
Detalles del método
entityLabels
public List
Obtiene el valor entityLabels.
Returns:
entityPredictions
public List
Obtenga el valor entityPredictions.
Returns:
id
public Integer id()
Obtenga el valor de id.
Returns:
intentLabel
public String intentLabel()
Obtiene el valor intentLabel.
Returns:
intentPredictions
public List
Obtenga el valor intentPredictions.
Returns:
text
public String text()
Obtiene el valor de texto.
Returns:
tokenizedText
public List
Obtiene el valor tokenizedText.
Returns:
withEntityLabels
public LabeledUtterance withEntityLabels(List
Establezca el valor entityLabels.
Parameters:
Returns:
withEntityPredictions
public LabeledUtterance withEntityPredictions(List
Establezca el valor entityPredictions.
Parameters:
Returns:
withId
public LabeledUtterance withId(Integer id)
Establezca el valor de id.
Parameters:
Returns:
withIntentLabel
public LabeledUtterance withIntentLabel(String intentLabel)
Establezca el valor intentLabel.
Parameters:
Returns:
withIntentPredictions
public LabeledUtterance withIntentPredictions(List
Establezca el valor intentPredictions.
Parameters:
Returns:
withText
public LabeledUtterance withText(String text)
Establezca el valor de texto.
Parameters:
Returns:
withTokenizedText
public LabeledUtterance withTokenizedText(List
Establezca el valor tokenizedText.
Parameters:
Returns:
Se aplica a
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de