Class ResponseGeneration

java.lang.Object
edu.tufts.hrilab.slug.dialogue.ResponseGeneration

public class ResponseGeneration extends Object
  • Constructor Details

    • ResponseGeneration

      public ResponseGeneration()
  • Method Details

    • generateClarificationMultipleMeanings

      public static Predicate generateClarificationMultipleMeanings(Symbol actor, Symbol speaker, Term semantics)
      Create an itk predicate from an ambiguous semantics predicate. Expecting semantics predicate of the form "semantics(boundOption1, boundOption2, ...)" and generating an itk predicate of the form "itk(actor, mean(speaker, or(boundOption1, boundOption2)))"
      Parameters:
      actor - single actor
      semantics - "semantics(boundOption1, boundOption2, ...)"
      Returns:
      Predicate of the form "itk(actor, mean(speaker, or(boundOption1, boundOption2)))"
    • generateFailureUnknownMeaning

      public static Predicate generateFailureUnknownMeaning(Symbol actor, Term suppSemantics)
      Create a Predicate representing the failure semantics in the case of unbound free-variable(s) in the supplemental semantics of an Utterance.
      Parameters:
      actor -
      suppSemantics - "suppSemantics(semantics(...), semantics()...)"
      Returns:
      Predicate of form "not(know(actor, meaningOf(...)))"