public class FlatInitializerLearner extends java.lang.Object implements Learner
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_SOURCE |
static java.lang.String |
FRONT_END |
Constructor and Description |
---|
FlatInitializerLearner() |
Modifier and Type | Method and Description |
---|---|
TrainerScore[] |
getScore()
Gets the TrainerScore for the next frame
|
void |
initializeComputation(Utterance utterance,
UtteranceGraph graph)
Initializes computation for current utterance and utterance graph.
|
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
void |
setGraph(UtteranceGraph graph)
Implements the setGraph method.
|
void |
setUtterance(Utterance utterance)
Sets the learner to use a utterance.
|
void |
start()
Starts the Learner.
|
void |
stop()
Stops the Learner.
|
@S4Component(type=FrontEnd.class) public static final java.lang.String FRONT_END
@S4Component(type=StreamCepstrumSource.class) public static final java.lang.String DATA_SOURCE
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
ps
- a property sheet holding the new dataPropertyException
- if there is a problem with the properties.public void setUtterance(Utterance utterance) throws java.io.IOException
setUtterance
in interface Learner
utterance
- the utterancejava.io.IOException
- if error occuredpublic void initializeComputation(Utterance utterance, UtteranceGraph graph) throws java.io.IOException
initializeComputation
in interface Learner
utterance
- the current utterancegraph
- the current utterance graphjava.io.IOException
- if IO went wrongpublic void setGraph(UtteranceGraph graph)
public TrainerScore[] getScore()