org.hops.ext
Class ogcall

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

public class ogcall
extends java.lang.Object

discriminates which generator call and how


Constructor Summary
ogcall()
          Creates a new instance of ogcall with dummy og
ogcall(og_util.NLPParameters param)
          Generates an OG standalone
ogcall(java.lang.String interface_name, long _timeout)
          Generates an output generator in FADA
 
Method Summary
 ResponseData callGenerator(java.lang.String ChannelId, java.lang.String Lang, stackact next_moves, IS state, UserModel um)
          creates the ResponseData
 utterance generateOutput(ResponseData RD, stackact next_moves)
          creates a new utterance from the moves
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ogcall

public ogcall()
Creates a new instance of ogcall with dummy og


ogcall

public ogcall(og_util.NLPParameters param)
Generates an OG standalone


ogcall

public ogcall(java.lang.String interface_name,
              long _timeout)
Generates an output generator in FADA

Method Detail

callGenerator

public ResponseData callGenerator(java.lang.String ChannelId,
                                  java.lang.String Lang,
                                  stackact next_moves,
                                  IS state,
                                  UserModel um)
creates the ResponseData


generateOutput

public utterance generateOutput(ResponseData RD,
                                stackact next_moves)
creates a new utterance from the moves

Parameters:
RD - the responsedata comming from the DM
next_moves - the moves that should generate a message
Returns:
a utterance containing the message