inpro.incremental.processor
Class IUNetworkActionManager

java.lang.Object
  extended by inpro.incremental.PushBuffer
      extended by inpro.incremental.IUModule
          extended by inpro.incremental.processor.AudioActionManager
              extended by inpro.incremental.processor.IUNetworkActionManager
All Implemented Interfaces:
edu.cmu.sphinx.instrumentation.Resetable, edu.cmu.sphinx.util.props.Configurable, AbstractFloorTracker.Listener

public class IUNetworkActionManager
extends AudioActionManager

Implements utterance execution for DialogueActIUs grounded-in a wider IU network. Applies basic trial intonation logic for rising vs non-rising pitch and throws timeouts accordingly.

Author:
okko

Nested Class Summary
 
Nested classes/interfaces inherited from class inpro.incremental.processor.AudioActionManager
AudioActionManager.Listener
 
Nested classes/interfaces inherited from class inpro.incremental.IUModule
IUModule.RightBuffer
 
Field Summary
 
Fields inherited from class inpro.incremental.processor.AudioActionManager
amListeners, audioDispatcher, audioPath, floorTracker, PROP_AUDIO_PATH, PROP_DISPATCHER, PROP_FLOOR_TRACKER, PROP_STATE_LISTENERS, PROP_UTTERANCE_MAP, toPerform, utteranceMapFile
 
Fields inherited from class inpro.incremental.IUModule
iulisteners, logger, PROP_HYP_CHANGE_LISTENERS, PROP_LOG_TO_TEDVIEW, PROP_TEDVIEW_LOG_ADDRESS, PROP_TEDVIEW_LOG_PORT, rightBuffer, tedLogAdapter
 
Constructor Summary
IUNetworkActionManager()
           
 
Method Summary
 void floor(AbstractFloorTracker.Signal signal, AbstractFloorTracker floorManager)
          When the floor changes, react: If floor is taken, be quiet If floor is available, speak queued IUs' utterance (from file if one is available, via TTS otherwise).
protected  void playClarificationUtterance()
           
protected  void playNegGroundingUtterance()
           
protected  void playNoInputUtterance()
           
protected  void playPosGroundingUtterance()
           
protected  void playRequestUtterance()
           
protected  void playShortNegGroundingUtterance()
           
protected  void playShortPosGroundingUtterance()
           
protected  void playSystemUtterance(java.lang.String string)
           
 
Methods inherited from class inpro.incremental.processor.AudioActionManager
leftBufferUpdate, newProperties, reset, shutUp, signalListeners
 
Methods inherited from class inpro.incremental.IUModule
getTime, hypChange, logToTedView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IUNetworkActionManager

public IUNetworkActionManager()
Method Detail

floor

public void floor(AbstractFloorTracker.Signal signal,
                  AbstractFloorTracker floorManager)
Description copied from class: AudioActionManager
When the floor changes, react: If floor is taken, be quiet If floor is available, speak queued IUs' utterance (from file if one is available, via TTS otherwise).

Specified by:
floor in interface AbstractFloorTracker.Listener
Overrides:
floor in class AudioActionManager
Parameters:
signal - the signal describing the change in the floor
floorManager - the floor manager itself. in this way a consumer can request e.g. to change timeouts

playNoInputUtterance

protected void playNoInputUtterance()

playShortPosGroundingUtterance

protected void playShortPosGroundingUtterance()

playShortNegGroundingUtterance

protected void playShortNegGroundingUtterance()

playPosGroundingUtterance

protected void playPosGroundingUtterance()

playNegGroundingUtterance

protected void playNegGroundingUtterance()

playClarificationUtterance

protected void playClarificationUtterance()

playRequestUtterance

protected void playRequestUtterance()

playSystemUtterance

protected void playSystemUtterance(java.lang.String string)