|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.tools.live.LiveModeRecognizer
Decodes a batch file containing a list of files to decode. The files can be either audio files or cepstral files, but defaults to audio files.
Field Summary | |
static java.lang.String |
PROP_ALIGN_INTERVAL
SphinxProperty specifying the number of files to decode before alignment is performed. |
static int |
PROP_ALIGN_INTERVAL_DEFAULT
The default value of PROP_ALIGN_INTERVAL. |
static java.lang.String |
PROP_HYPOTHESIS_TRANSCRIPT
SphinxProperty specifying the transcript file. |
static java.lang.String |
PROP_HYPOTHESIS_TRANSCRIPT_DEFAULT
The default value of PROP_TRANSCRIPT. |
static java.lang.String |
PROP_INPUT_SOURCE
The Sphinx property that specifies the source of the transcript |
static java.lang.String |
PROP_RECOGNIZER
The Sphinx property that specifies the recognizer to use |
static java.lang.String |
PROP_SHOW_GAP_INSERTIONS
SphinxProperty specifying whether to print out the gap insertion errors. |
static boolean |
PROP_SHOW_GAP_INSERTIONS_DEFAULT
Default value for PROP_SHOW_GAP_INSERTIONS. |
static java.lang.String |
PROP_SKIP
The SphinxProperty name for how many files to skip for every decode. |
static int |
PROP_SKIP_DEFAULT
The default value for the property PROP_SKIP. |
Constructor Summary | |
LiveModeRecognizer()
|
Method Summary | |
void |
close()
Do clean up |
void |
decode()
Decodes the batch of audio files |
java.lang.String |
getName()
Retrieves the name for this configurable component |
static void |
main(java.lang.String[] argv)
Main method of this BatchDecoder. |
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROP_SKIP
public static final int PROP_SKIP_DEFAULT
public static final java.lang.String PROP_RECOGNIZER
public static final java.lang.String PROP_INPUT_SOURCE
public static final java.lang.String PROP_SHOW_GAP_INSERTIONS
public static final boolean PROP_SHOW_GAP_INSERTIONS_DEFAULT
public static final java.lang.String PROP_HYPOTHESIS_TRANSCRIPT
public static final java.lang.String PROP_HYPOTHESIS_TRANSCRIPT_DEFAULT
public static final java.lang.String PROP_ALIGN_INTERVAL
public static final int PROP_ALIGN_INTERVAL_DEFAULT
Constructor Detail |
public LiveModeRecognizer()
Method Detail |
public void register(java.lang.String name, Registry registry) throws PropertyException
Configurable
register
in interface Configurable
name
- the name of the componentregistry
- the registry for this component
PropertyException
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
ps
- a property sheet holding the new data
PropertyException
- if there is a problem with the properties.public java.lang.String getName()
Configurable
getName
in interface Configurable
public void decode() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] argv)
argv
- argv[0] : config file argv[1] : a file listing
all the audio files to decode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |