inpro.sphinx.instrumentation
Class TEDviewNotifier
java.lang.Object
inpro.sphinx.instrumentation.LabelWriter
inpro.sphinx.instrumentation.TEDviewNotifier
- All Implemented Interfaces:
- edu.cmu.sphinx.decoder.ResultListener, edu.cmu.sphinx.instrumentation.Monitor, edu.cmu.sphinx.instrumentation.Resetable, edu.cmu.sphinx.recognizer.StateListener, edu.cmu.sphinx.util.props.Configurable, java.util.EventListener
public class TEDviewNotifier
- extends LabelWriter
Fields inherited from class inpro.sphinx.instrumentation.LabelWriter |
finalResult, fixedLag, intermediateResults, phoneAlignment, PROP_FILE_BASE_NAME, PROP_FILE_OUTPUT, PROP_FINAL_RESULT, PROP_FIXED_LAG, PROP_INTERMEDIATE_RESULTS, PROP_N_BEST, PROP_PHONE_ALIGNMENT, PROP_RECOGNIZER, PROP_STEP_WIDTH, PROP_WORD_ALIGNMENT, step, stepWidth, wordAlignment |
Method Summary |
protected void |
finalize()
|
private void |
messageZeitGeist(java.util.List<edu.cmu.sphinx.decoder.search.Token> list,
java.lang.String origin)
|
void |
newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
|
void |
newResult(edu.cmu.sphinx.result.Result result)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_ZEITGEIST_PORT
@S4Integer(defaultValue=2000)
public static final java.lang.String PROP_ZEITGEIST_PORT
- See Also:
- Constant Field Values
zeitgeistPort
private int zeitgeistPort
zeitgeistOutput
private boolean zeitgeistOutput
sock
private java.net.Socket sock
writer
private java.io.PrintWriter writer
TEDviewNotifier
public TEDviewNotifier()
messageZeitGeist
private void messageZeitGeist(java.util.List<edu.cmu.sphinx.decoder.search.Token> list,
java.lang.String origin)
newResult
public void newResult(edu.cmu.sphinx.result.Result result)
- Specified by:
newResult
in interface edu.cmu.sphinx.decoder.ResultListener
- Overrides:
newResult
in class LabelWriter
newProperties
public void newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
throws edu.cmu.sphinx.util.props.PropertyException
- Specified by:
newProperties
in interface edu.cmu.sphinx.util.props.Configurable
- Overrides:
newProperties
in class LabelWriter
- Throws:
edu.cmu.sphinx.util.props.PropertyException
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object