|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.decoder.pruner.SimplePruner
public class SimplePruner
Performs the default pruning behavior which is to invoke the purge on the active list
| Constructor Summary | |
|---|---|
SimplePruner()
|
|
| Method Summary | |
|---|---|
void |
allocate()
Allocates resources necessary for this pruner |
void |
deallocate()
Deallocates resources necessary for this pruner |
java.lang.String |
getName()
|
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
ActiveList |
prune(ActiveList activeList)
prunes the given set of states |
void |
startRecognition()
Starts the pruner |
void |
stopRecognition()
Performs post-recognition cleanup. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimplePruner()
| Method Detail |
|---|
public void newProperties(PropertySheet ps)
throws PropertyException
Configurable
newProperties in interface Configurableps - a property sheet holding the new data
PropertyException - if there is a problem with the properties.public java.lang.String getName()
public void startRecognition()
startRecognition in interface Prunerpublic ActiveList prune(ActiveList activeList)
prune in interface PruneractiveList - a activeList of tokens
public void stopRecognition()
stopRecognition in interface Prunerpublic void allocate()
Pruner
allocate in interface Prunerpublic void deallocate()
Pruner
deallocate in interface Pruner
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||