|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.research.parallel.ParallelSearchManager
Performs recognition on parallel feature streams.
Field Summary | |
static java.lang.String |
PROP_ACTIVE_LIST_FACTORY
The sphinx property name for the active list type. |
static java.lang.String |
PROP_COMBINED_SCORE_PRUNER
The sphinx property for the combined score pruner. |
static java.lang.String |
PROP_DO_COMBINE_PRUNING
The sphinx property name for whether to do combine pruning. |
static boolean |
PROP_DO_COMBINE_PRUNING_DEFAULT
The default value for whether to do combine pruning, which is false. |
static java.lang.String |
PROP_DO_FEATURE_PRUNING
The sphinx property name for whether to do feature pruning. |
static boolean |
PROP_DO_FEATURE_PRUNING_DEFAULT
The default value for whether to do feature pruning, which is false. |
static java.lang.String |
PROP_FEATURE_SCORE_PRUNER
The sphinx property for the feature score pruner. |
static java.lang.String |
PROP_LINGUIST
The sphinx property for linguist used. |
static java.lang.String |
PROP_LOG_MATH
The sphinx property for the log math used. |
static java.lang.String |
PROP_SCORER
The sphinx property for scorer used. |
Constructor Summary | |
ParallelSearchManager()
|
Method Summary | |
void |
allocate()
Allocates the resources necessary for this search. |
void |
deallocate()
Deallocates resources necessary for this search. |
java.lang.String |
getName()
Retrieves the name for this configurable component |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component has new data. |
Result |
recognize(int nFrames)
Performs recognition. |
void |
register(java.lang.String name,
Registry registry)
Register my properties. |
void |
startRecognition()
Prepares the SearchManager for recognition. |
void |
stopRecognition()
Performs post-recognition cleanup. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROP_ACTIVE_LIST_FACTORY
public static final java.lang.String PROP_DO_FEATURE_PRUNING
public static final boolean PROP_DO_FEATURE_PRUNING_DEFAULT
public static final java.lang.String PROP_FEATURE_SCORE_PRUNER
public static final java.lang.String PROP_DO_COMBINE_PRUNING
public static final boolean PROP_DO_COMBINE_PRUNING_DEFAULT
public static final java.lang.String PROP_COMBINED_SCORE_PRUNER
public static final java.lang.String PROP_SCORER
public static final java.lang.String PROP_LINGUIST
public static final java.lang.String PROP_LOG_MATH
Constructor Detail |
public ParallelSearchManager()
Method Detail |
public void register(java.lang.String name, Registry registry) throws PropertyException
Configurable
register
in interface Configurable
name
- the name of the componentregistry
- the registry for this component
PropertyException
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
ps
- a property sheet holding the new data
PropertyException
- if there is a problem with the properties.public void allocate() throws java.io.IOException
SearchManager
allocate
in interface SearchManager
java.io.IOException
public java.lang.String getName()
Configurable
getName
in interface Configurable
public void startRecognition()
recognize
is called.
startRecognition
in interface SearchManager
public Result recognize(int nFrames)
recognize
in interface SearchManager
nFrames
- the maximum number of frames to process. A
final result may be returned before all nFrames are processed.
public void stopRecognition()
stopRecognition
in interface SearchManager
public void deallocate()
SearchManager
deallocate
in interface SearchManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |