public abstract class AbstractFeatureExtractor extends BaseDataProcessor
| Modifier and Type | Field and Description |
|---|---|
protected DoubleData[] |
cepstraBuffer |
protected int |
cepstraBufferEdge |
protected int |
cepstraBufferSize |
protected int |
currentPosition |
static java.lang.String |
PROP_FEATURE_WINDOW
The property for the window of the DeltasFeatureExtractor.
|
protected int |
window |
logger| Constructor and Description |
|---|
AbstractFeatureExtractor() |
AbstractFeatureExtractor(int window) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Data |
computeNextFeature()
Computes the next feature.
|
Data |
getData()
Returns the next Data object produced by this DeltasFeatureExtractor.
|
void |
initialize()
Initializes this DataProcessor.
|
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
getPredecessor, setPredecessorgetName, initLogger, toString@S4Integer(defaultValue=3) public static final java.lang.String PROP_FEATURE_WINDOW
protected int cepstraBufferEdge
protected int window
protected int currentPosition
protected int cepstraBufferSize
protected DoubleData[] cepstraBuffer
public AbstractFeatureExtractor(int window)
public AbstractFeatureExtractor()
public void newProperties(PropertySheet ps) throws PropertyException
ConfigurablenewProperties in interface ConfigurablenewProperties in class ConfigurableAdapterps - a property sheet holding the new dataPropertyException - if there is a problem with the properties.public void initialize()
BaseDataProcessorinitialize in interface DataProcessorinitialize in class BaseDataProcessorpublic Data getData() throws DataProcessingException
getData in interface DataProcessorgetData in class BaseDataProcessorDataProcessingException - if there is a data processing errorprotected abstract Data computeNextFeature()