|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinpro.incremental.PushBuffer
public abstract class PushBuffer
Defines the interface for receiving hypothesis changes of incremental processors. Communication in the inpro system follows an event-based push-scheme. Each event comprises the communicated information in two forms:
IUModule which handles output handling
and offers some more convenience operations.
| Constructor Summary | |
|---|---|
PushBuffer()
|
|
| Method Summary | |
|---|---|
abstract void |
hypChange(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
this should receive a list of current IUs and a list of edit messages since the last call to hypChange |
void |
newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
|
void |
reset()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PushBuffer()
| Method Detail |
|---|
public abstract void hypChange(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
ius - while this is a (plain) collection, the collection's iterator()
method must ensure a sensible ordering of the returned elements.
For now we have only used Lists (which are ordered),
but a Tree of IUs should also be possible and this should gracefully
work together with processors that expect listsedits - a list of edits since the last call to hypChangepublic void reset()
reset in interface edu.cmu.sphinx.instrumentation.Resetable
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.Configurableedu.cmu.sphinx.util.props.PropertyException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||