|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.decoder.AbstractDecoder
edu.cmu.sphinx.decoder.Decoder
public class Decoder
The primary decoder class
Field Summary | |
---|---|
static java.lang.String |
PROP_FEATURE_BLOCK_SIZE
The sphinx property name for the number of features to recognize at once. |
Fields inherited from class edu.cmu.sphinx.decoder.AbstractDecoder |
---|
AUTO_ALLOCATE, FIRE_NON_FINAL_RESULTS, PROP_RESULT_LISTENERS, PROP_SEARCH_MANAGER |
Constructor Summary | |
---|---|
Decoder()
|
Method Summary | |
---|---|
Result |
decode(java.lang.String referenceText)
Decode frames until recognition is complete. |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
Methods inherited from class edu.cmu.sphinx.decoder.AbstractDecoder |
---|
addResultListener, allocate, deallocate, removeResultListener, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@S4Integer(defaultValue=100000) public static final java.lang.String PROP_FEATURE_BLOCK_SIZE
Constructor Detail |
---|
public Decoder()
Method Detail |
---|
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class AbstractDecoder
ps
- a property sheet holding the new data
PropertyException
- if there is a problem with the properties.public Result decode(java.lang.String referenceText)
decode
in class AbstractDecoder
referenceText
- the reference text (or null)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |