|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.util.props.ConfigurableAdapter
edu.cmu.sphinx.frontend.BaseDataProcessor
edu.cmu.sphinx.frontend.endpoint.NonSpeechDataFilter
public class NonSpeechDataFilter
Given a sequence of Data, filters out the non-speech regions. The sequence of Data should have the speech and
non-speech regions marked out by the SpeechStartSignal and SpeechEndSignal, using the SpeechMarker.
In the first case, the data stream has only one speech region:
Figure 1: A data stream with only one speech region.
After filtering, the non-speech regions are removed, and becomes:
Figure 2: A
data stream with only on speech region after filtering.
| Constructor Summary | |
|---|---|
NonSpeechDataFilter()
|
|
| Method Summary | |
|---|---|
Data |
getData()
Returns the processed Data output. |
void |
initialize()
Initializes this data processor |
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 |
| Methods inherited from class edu.cmu.sphinx.util.props.ConfigurableAdapter |
|---|
getName, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NonSpeechDataFilter()
| Method Detail |
|---|
public void newProperties(PropertySheet ps)
throws PropertyException
Configurable
newProperties in interface ConfigurablenewProperties in class ConfigurableAdapterps - a property sheet holding the new data
PropertyException - if there is a problem with the properties.public void initialize()
initialize in interface DataProcessorinitialize in class BaseDataProcessor
public Data getData()
throws DataProcessingException
BaseDataProcessor
getData in interface DataProcessorgetData in class BaseDataProcessorDataProcessingException - if a data processor error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||