edu.cmu.sphinx.frontend.feature
Class LDA
java.lang.Object
edu.cmu.sphinx.frontend.BaseDataProcessor
edu.cmu.sphinx.frontend.feature.LDA
- All Implemented Interfaces:
- DataProcessor, Configurable
public class LDA
- extends BaseDataProcessor
Implements an LDA transformation. The dimension of the feature stream is
reduced with a matrix transform thus reducing speed and increasing accuracy.
This component requires special model trained with LDA/MLLT transform.
Field Summary |
static java.lang.String |
PROP_LOADER
The name of the transform matrix file |
Constructor Summary |
LDA()
|
Method Summary |
Data |
getData()
Returns the next Data object being processed by this LDA, or if it is a
Signal, it is returned without modification. |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROP_LOADER
@S4Component(type=Loader.class)
public static final java.lang.String PROP_LOADER
- The name of the transform matrix file
- See Also:
- Constant Field Values
LDA
public LDA()
newProperties
public void newProperties(PropertySheet ps)
throws PropertyException
- Description copied from interface:
Configurable
- This method is called when this configurable component needs to be reconfigured.
- Specified by:
newProperties
in interface Configurable
- Overrides:
newProperties
in class BaseDataProcessor
- Parameters:
ps
- a property sheet holding the new data
- Throws:
PropertyException
- if there is a problem with the properties.
getData
public Data getData()
throws DataProcessingException
- Returns the next Data object being processed by this LDA, or if it is a
Signal, it is returned without modification.
- Specified by:
getData
in interface DataProcessor
- Specified by:
getData
in class BaseDataProcessor
- Returns:
- the next available Data object, returns null if no Data object is
available
- Throws:
DataProcessingException
- if there is a processing error- See Also:
Data