|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinpro.incremental.PushBuffer
inpro.incremental.IUModule
inpro.incremental.processor.AbstractDialogueManager
inpro.incremental.processor.IUNetworkDialogueManager
public class IUNetworkDialogueManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class inpro.incremental.IUModule |
---|
IUModule.RightBuffer |
Field Summary | |
---|---|
protected IUNetworkDomainUtil |
domain
The domain utility wrapping information state creation |
static java.lang.String |
PROP_DOMAIN
The domain utility configuration |
static java.lang.String |
PROP_LEX_SEMANTICS
The lexical semantics mapping configuration variables |
static java.lang.String |
PROP_STATE_LISTENERS
The internal state listener configuration |
protected java.util.List<PushBuffer> |
stateListeners
The list of state listeners |
private IUNetworkUpdateEngine |
updateEngine
Update Engine holding rules, information state and interfaces for new input/output IUs. |
Fields inherited from class inpro.incremental.processor.AbstractDialogueManager |
---|
doneQueue, floorSignalQueue, leftBufferQueue, updating |
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 | |
---|---|
IUNetworkDialogueManager()
|
Method Summary | |
---|---|
void |
done(DialogueActIU iu)
Listens to an action manager. |
void |
leftBufferUpdate(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
Updates the IS with ADDed or REVOKEd WordIUs. |
void |
newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
Sets up the DM with lexical semantics and state listeners. |
void |
reset()
|
protected void |
updateAll()
Update state listeners and right buffer, then call AbstractDialogueManager.postUpdate() to release locks. |
private void |
updateStateListeners()
Updates internal state listeners. |
Methods inherited from class inpro.incremental.processor.AbstractDialogueManager |
---|
floor, postUpdate |
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 |
Field Detail |
---|
@S4String(mandatory=true) public static final java.lang.String PROP_LEX_SEMANTICS
@S4ComponentList(type=PushBuffer.class) public static final java.lang.String PROP_STATE_LISTENERS
protected java.util.List<PushBuffer> stateListeners
@S4Component(type=IUNetworkDomainUtil.class) public static final java.lang.String PROP_DOMAIN
protected IUNetworkDomainUtil domain
private IUNetworkUpdateEngine updateEngine
Constructor Detail |
---|
public IUNetworkDialogueManager()
Method Detail |
---|
public void newProperties(edu.cmu.sphinx.util.props.PropertySheet ps) throws edu.cmu.sphinx.util.props.PropertyException
newProperties
in interface edu.cmu.sphinx.util.props.Configurable
newProperties
in class IUModule
edu.cmu.sphinx.util.props.PropertyException
public void leftBufferUpdate(java.util.Collection<? extends IU> ius, java.util.List<? extends EditMessage<? extends IU>> edits)
updateAll()
to update listeners.
leftBufferUpdate
in class AbstractDialogueManager
ius
- list of IUs that make up the current hypothesisedits
- a list of edits since the last callprotected void updateAll()
AbstractDialogueManager.postUpdate()
to release locks.
private void updateStateListeners()
public void reset()
reset
in interface edu.cmu.sphinx.instrumentation.Resetable
reset
in class PushBuffer
public void done(DialogueActIU iu)
AbstractDialogueManager
done
in interface AudioActionManager.Listener
done
in class AbstractDialogueManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |