public class BaumWelchLearner 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 |
|---|
BaumWelchLearner() |
| Modifier and Type | Method and Description |
|---|---|
protected FrontEnd |
getFrontEnd() |
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
ConfigurablenewProperties in interface Configurableps - a property sheet holding the new dataPropertyException - if there is a problem with the properties.protected FrontEnd getFrontEnd()
public void setUtterance(Utterance utterance) throws java.io.IOException
setUtterance in interface Learnerutterance - the utterancejava.io.IOException - if error occurredpublic void initializeComputation(Utterance utterance, UtteranceGraph graph) throws java.io.IOException
initializeComputation in interface Learnerutterance - the current utterancegraph - the current utterance graphjava.io.IOException - if exception occuredpublic void setGraph(UtteranceGraph graph)
public TrainerScore[] getScore()