Package edu.tufts.hrilab.slug.pragmatics
Interface PragmaticsInterface
- All Known Implementing Classes:
PragmaticsComponent
public interface PragmaticsInterface
-
Method Summary
Modifier and TypeMethodDescriptionapplyPragmaticMeaning
(Utterance utterance) Main entry point for applying pragmatic meaning to both input and output utterances.
-
Method Details
-
applyPragmaticMeaning
Main entry point for applying pragmatic meaning to both input and output utterances. The rules applied (input prag rules vs prag gen rules) are determined by the information contained in the Utterance instance. INPUT: takes in an Utterance from a parser, perform pragmatic inference on it, and returns the results. OUTPUT: takes in an Utterance from dialogue, perform pragmatic inference on it, and returns the results.- Parameters:
utterance
- utterance whose semantics will undergo pragmatic inference- Returns:
- utterance with pragmatics applies
-