inpro.incremental.processor
Class SynthesisModule
java.lang.Object
inpro.incremental.PushBuffer
inpro.incremental.IUModule
inpro.incremental.processor.SynthesisModule
- All Implemented Interfaces:
- edu.cmu.sphinx.instrumentation.Resetable, edu.cmu.sphinx.util.props.Configurable
public class SynthesisModule
- extends IUModule
concurrency: playNoise() and update() are synchronized, so do not try to call them from the same thread
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
speechDispatcher
protected DispatchStream speechDispatcher
upcomingPhrases
java.util.ArrayList<PhraseIU> upcomingPhrases
currentInstallment
protected PhraseBasedInstallmentIU currentInstallment
SynthesisModule
public SynthesisModule(DispatchStream speechDispatcher)
leftBufferUpdate
protected void leftBufferUpdate(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
- please only send PhraseIUs, everything else will result in assertions failing
- Specified by:
leftBufferUpdate
in class IUModule
- Parameters:
ius
- list of IUs that make up the current hypothesisedits
- a list of edits since the last call
appendNotification
private void appendNotification(SysInstallmentIU installment,
PhraseIU phrase)