Class ExampleLabelObject


  • public class ExampleLabelObject
    extends Object
    A labeled example utterance.
    • Constructor Detail

      • ExampleLabelObject

        public ExampleLabelObject()
    • Method Detail

      • text

        public String text()
        Get the text value.
        Returns:
        the text value
      • withText

        public ExampleLabelObject withText​(String text)
        Set the text value.
        Parameters:
        text - the text value to set
        Returns:
        the ExampleLabelObject object itself.
      • entityLabels

        public List<EntityLabelObject> entityLabels()
        Get the entityLabels value.
        Returns:
        the entityLabels value
      • withEntityLabels

        public ExampleLabelObject withEntityLabels​(List<EntityLabelObject> entityLabels)
        Set the entityLabels value.
        Parameters:
        entityLabels - the entityLabels value to set
        Returns:
        the ExampleLabelObject object itself.
      • intentName

        public String intentName()
        Get the intentName value.
        Returns:
        the intentName value
      • withIntentName

        public ExampleLabelObject withIntentName​(String intentName)
        Set the intentName value.
        Parameters:
        intentName - the intentName value to set
        Returns:
        the ExampleLabelObject object itself.