|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.frontend.BaseDataProcessor
edu.cmu.sphinx.frontend.feature.S3FeatureExtractor
public class S3FeatureExtractor
Computes the delta and double delta of input cepstrum (or plp or ...). The delta is the first order derivative and
the double delta (a.k.a. delta delta) is the second order derivative of the original cepstrum. They help model the
speech signal dynamics. The output data is a FloatData
object with a float array of size three times the
original cepstrum.
Field Summary | |
---|---|
static java.lang.String |
PROP_FEATURE_WINDOW
The name of the SphinxProperty for the window of the S3FeatureExtractor. |
static int |
PROP_FEATURE_WINDOW_DEFAULT
The default value of PROP_FEATURE_WINDOW. |
Constructor Summary | |
---|---|
S3FeatureExtractor()
|
Method Summary | |
---|---|
Data |
getData()
Returns the next Data object produced by this S3FeatureExtractor. |
void |
initialize()
Initializes this DataProcessor. |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
Methods inherited from class edu.cmu.sphinx.frontend.BaseDataProcessor |
---|
getPredecessor, getTimer, setPredecessor, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@S4Integer(defaultValue=3) public static final java.lang.String PROP_FEATURE_WINDOW
public static final int PROP_FEATURE_WINDOW_DEFAULT
Constructor Detail |
---|
public S3FeatureExtractor()
Method Detail |
---|
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class BaseDataProcessor
ps
- a property sheet holding the new data
PropertyException
- if there is a problem with the properties.public void initialize()
BaseDataProcessor
initialize
in interface DataProcessor
initialize
in class BaseDataProcessor
public Data getData() throws DataProcessingException
getData
in interface DataProcessor
getData
in class BaseDataProcessor
DataProcessingException
- if there is a data processing error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |