Class PickAndPlaceLLM

java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.abb.PickAndPlaceLLM
All Implemented Interfaces:
NLGInterface

public class PickAndPlaceLLM extends DiarcComponent implements NLGInterface
  • Constructor Details

    • PickAndPlaceLLM

      public PickAndPlaceLLM()
  • Method Details

    • additionalUsageInfo

      protected List<org.apache.commons.cli.Option> additionalUsageInfo()
      Description copied from class: DiarcComponent
      Override this method to define command line options available in sub-class. This should be paired with a parseArgs implementation.
      Overrides:
      additionalUsageInfo in class DiarcComponent
      Returns:
    • parseArgs

      public void parseArgs(org.apache.commons.cli.CommandLine cmdLine)
      Description copied from class: DiarcComponent
      Override this method to parse command line args in the sub-class. Called directly after construction to pass runtime values that will override default values. This should parse all the options that additionalUsageInfo provides.
      Overrides:
      parseArgs in class DiarcComponent
    • pickAndPlaceLLMParser

      public ParserResponse pickAndPlaceLLMParser(String utterance)
    • convertSemanticsToText

      public Utterance convertSemanticsToText(Utterance u)
      Specified by:
      convertSemanticsToText in interface NLGInterface
    • convertSemanticsToText

      public Utterance convertSemanticsToText(Utterance u, boolean hasWords)
    • injectDictionaryEntry

      public void injectDictionaryEntry(String morpheme, String type, String semantics, String cognitiveStatus)