|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.frontend.Signal
edu.cmu.sphinx.frontend.DataStartSignal
public class DataStartSignal
A signal that indicates the start of data.
Data,
DataProcessor,
Signal,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
SPEECH_TAGGED_FEATURE_STREAM
A constant that is attached to all DataStartSignal passing this component. |
| Constructor Summary | |
|---|---|
DataStartSignal(int sampleRate)
Constructs a DataStartSignal. |
|
DataStartSignal(int sampleRate,
boolean tagAsVadStream)
Constructs a DataStartSignal at the given time. |
|
DataStartSignal(int sampleRate,
long time)
Constructs a DataStartSignal at the given time. |
|
DataStartSignal(int sampleRate,
long time,
boolean tagAsVadStream)
Constructs a DataStartSignal at the given time. |
|
| Method Summary | |
|---|---|
int |
getSampleRate()
|
static void |
tagAsVadStream(DataStartSignal dsSignal)
|
java.lang.String |
toString()
Returns the string "DataStartSignal". |
static void |
untagAsVadStream(DataStartSignal dsSignal)
|
| Methods inherited from class edu.cmu.sphinx.frontend.Signal |
|---|
getProps, getTime |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SPEECH_TAGGED_FEATURE_STREAM
DataProcessors (like the Scorer) to adapt their processsing behavior.
| Constructor Detail |
|---|
public DataStartSignal(int sampleRate)
sampleRate - The sampling rate of the started data stream.
public DataStartSignal(int sampleRate,
long time)
sampleRate - the sampling rate of the started data stream.time - the time this DataStartSignal is created
public DataStartSignal(int sampleRate,
boolean tagAsVadStream)
sampleRate - the sampling rate of the started data stream.tagAsVadStream - true if this feature stream will contain vad-signals
public DataStartSignal(int sampleRate,
long time,
boolean tagAsVadStream)
sampleRate - the sampling rate of the started data stream.time - the time this DataStartSignal is createdtagAsVadStream - true if this feature stream will contain vad-signals| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getSampleRate()
public static void tagAsVadStream(DataStartSignal dsSignal)
public static void untagAsVadStream(DataStartSignal dsSignal)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||