inpro.incremental.processor
Class Tagger
java.lang.Object
inpro.incremental.PushBuffer
inpro.incremental.IUModule
inpro.incremental.processor.Tagger
- All Implemented Interfaces:
- edu.cmu.sphinx.instrumentation.Resetable, edu.cmu.sphinx.util.props.Configurable
public class Tagger
- extends IUModule
An incremental processor that produces TagIU
s from WordIU
s.
Determines a word's tags from a list of associated AVPair
s and adds one TagIU for each.
- Author:
- okko, andreas
Method Summary |
protected void |
leftBufferUpdate(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
the method that IU modules must implement |
void |
newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_TAG_TAG
public static final java.lang.String NO_TAG_TAG
- See Also:
- Constant Field Values
PROP_WORD_SEMANTICS
@S4String(defaultValue="res/PentoAVMapping")
public static final java.lang.String PROP_WORD_SEMANTICS
- See Also:
- Constant Field Values
Tagger
public Tagger()
newProperties
public void newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
throws edu.cmu.sphinx.util.props.PropertyException
- Specified by:
newProperties
in interface edu.cmu.sphinx.util.props.Configurable
- Overrides:
newProperties
in class IUModule
- Throws:
edu.cmu.sphinx.util.props.PropertyException
leftBufferUpdate
protected void leftBufferUpdate(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
- Description copied from class:
IUModule
- the method that IU modules must implement
- 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