|
||||||||||
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.util.DataDumper
Dumps the data
Field Summary | |
static java.lang.String |
PROP_ENABLE
The Sphinx property that specifies whether data dumping is enabled |
static boolean |
PROP_ENABLE_DEFAULT
The default value of PROP_ENABLE. |
static java.lang.String |
PROP_OUTPUT_FORMAT
The Sphinx property that specifies the format of the output. |
static java.lang.String |
PROP_OUTPUT_FORMAT_DEFAULT
The default value of PROP_OUTPUT_FORMAT. |
static java.lang.String |
PROP_OUTPUT_SIGNALS
The Sphinx property that enables the output of signals. |
static boolean |
PROP_OUTPUT_SIGNALS_DEFAULT
The default value of PROP_OUTPUT_SIGNALS. |
Constructor Summary | |
DataDumper()
|
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 has new data. |
void |
register(java.lang.String name,
Registry registry)
Register my properties. |
Methods inherited from class edu.cmu.sphinx.frontend.BaseDataProcessor |
getName, getPredecessor, getTimer, setPredecessor, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String PROP_ENABLE
public static final boolean PROP_ENABLE_DEFAULT
public static final java.lang.String PROP_OUTPUT_FORMAT
public static final java.lang.String PROP_OUTPUT_FORMAT_DEFAULT
public static final java.lang.String PROP_OUTPUT_SIGNALS
public static final boolean PROP_OUTPUT_SIGNALS_DEFAULT
Constructor Detail |
public DataDumper()
Method Detail |
public void register(java.lang.String name, Registry registry) throws PropertyException
Configurable
register
in interface Configurable
register
in class BaseDataProcessor
PropertyException
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class BaseDataProcessor
PropertyException
public void initialize()
initialize
in interface DataProcessor
initialize
in class BaseDataProcessor
public Data getData() throws DataProcessingException
getData
in interface DataProcessor
getData
in class BaseDataProcessor
null
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 |