org.hops.ext
Class ogdummy

java.lang.Object
  extended by org.hops.ext.ogdummy

public class ogdummy
extends java.lang.Object

generates a sentence using the utterance moves


Constructor Summary
ogdummy()
          Creates a new instance of og
 
Method Summary
static ResponseData callGenerator(stackact next_moves)
          Generates a ResponseData from the next_moves Since this is a dummy, there are not xml files, but the message
static java.lang.String fillgenerator(action act)
          fillgenerator generates a sentence associated with the action and the attribute
static java.lang.String genHelpPrompt(java.lang.String attr_name)
          Generate a help promp
static java.lang.String genPrompt(java.lang.String attr_name)
          Generate a prompt for the attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ogdummy

public ogdummy()
Creates a new instance of og

Method Detail

callGenerator

public static ResponseData callGenerator(stackact next_moves)
Generates a ResponseData from the next_moves Since this is a dummy, there are not xml files, but the message

Parameters:
next_moves - the actions
Returns:
the ResponseData object with the message

genPrompt

public static java.lang.String genPrompt(java.lang.String attr_name)
Generate a prompt for the attribute

Parameters:
attr_name - the attribute name
Returns:
a sentence asking for the attribute

genHelpPrompt

public static java.lang.String genHelpPrompt(java.lang.String attr_name)
Generate a help promp

Parameters:
attr_name - the attribute name
Returns:
a sentence

fillgenerator

public static java.lang.String fillgenerator(action act)
fillgenerator generates a sentence associated with the action and the attribute