|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.research.parallel.FeatureStream
Implements a feature stream used in parallel decoding.
A feature stream describes the type of features that are generated,
so it is represented by the front end
that generates the features, and the acoustic model
that should be used to decode those features.
Since the parallel decoder uses information from multiple feature
streams for decoding, the eta value
of the
feature stream represents the relative weight that is applied
for the scores from each feature stream.
To allow stream-specific pruning, each feature stream maintains
its own active list
,
which is where tokens of that particular stream should be stored.
Field Summary | |
static java.lang.String |
PROP_ACOUSTIC_MODEL
Property for the acoustic model of this feature stream. |
static java.lang.String |
PROP_ETA
Property for the eta value of this feature stream. |
static float |
PROP_ETA_DEFAULT
Default value of PROP_ETA. |
static java.lang.String |
PROP_FRONT_END
Property for the front end of this feature stream. |
Constructor Summary | |
FeatureStream()
|
Method Summary | |
void |
freeAcousticModel()
Frees the acoustic model. |
AcousticModel |
getAcousticModel()
Returns the acoustic model of this feature stream. |
ActiveList |
getActiveList()
Returns the active list |
float |
getEta()
Returns the eta value of this FeatureStream. |
FrontEnd |
getFrontEnd()
Returns the front end of this feature stream. |
java.lang.String |
getName()
Returns the name of this FeatureStream. |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component has new data. |
void |
register(java.lang.String name,
Registry registry)
Register my properties. |
void |
setActiveList(ActiveList list)
Sets the active list |
void |
setEta(float eta)
Sets the eta value of this FeatureStream |
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_ACOUSTIC_MODEL
public static final java.lang.String PROP_FRONT_END
public static final java.lang.String PROP_ETA
public static final float PROP_ETA_DEFAULT
Constructor Detail |
public FeatureStream()
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 java.lang.String getName()
getName
in interface Configurable
public AcousticModel getAcousticModel()
public FrontEnd getFrontEnd()
public float getEta()
public ActiveList getActiveList()
public void freeAcousticModel()
public void setEta(float eta)
eta
- the eta valuepublic void setActiveList(ActiveList list)
list
- the active list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |