|
|||||||||
| 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.util.DataDumper
public class DataDumper
Dumps the data
| Field Summary | |
|---|---|
static java.lang.String |
PROP_ENABLE
The Sphinx property that specifies whether data dumping is enabled |
static java.lang.String |
PROP_OUTPUT_FORMAT
The Sphinx property that specifies the format of the output. |
static java.lang.String |
PROP_OUTPUT_SIGNALS
The Sphinx property that enables the output of signals. |
| Constructor Summary | |
|---|---|
DataDumper()
|
|
DataDumper(boolean enable,
java.lang.String format,
boolean outputSignals)
|
|
| Method Summary | |
|---|---|
Data |
getData()
Reads and returns the next Data object from this DataProcessor, return null if there is no more audio data. |
void |
initialize()
Constructs a DataDumper |
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 |
| Field Detail |
|---|
@S4Boolean(defaultValue=true) public static final java.lang.String PROP_ENABLE
@S4String(defaultValue="0.00000E00;-0.00000E00") public static final java.lang.String PROP_OUTPUT_FORMAT
@S4Boolean(defaultValue=true) public static final java.lang.String PROP_OUTPUT_SIGNALS
| Constructor Detail |
|---|
public DataDumper(boolean enable,
java.lang.String format,
boolean outputSignals)
public DataDumper()
| 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
getData in interface DataProcessorgetData in class BaseDataProcessornull if none is available
DataProcessingException - if there is a data processing error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||