edu.cmu.sv.natural_language_generation.PhraseGenerationRoutine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoda Show documentation
Show all versions of yoda Show documentation
A library that allows rapid prototyping of dialog systems (language understanding, discourse modelling, dialog management, language generation).
package edu.cmu.sv.natural_language_generation;
import edu.cmu.sv.yoda_environment.YodaEnvironment;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.json.simple.JSONObject;
/**
* Created by David Cohen on 6/13/14.
*
* Unlike top-level templates, phrase generation routines have their constraints passed to their constructors.
*/
public interface PhraseGenerationRoutine {
ImmutablePair generate(JSONObject constraints, YodaEnvironment yodaEnvironment);
}