fi.hut.tml.xsmiles.speech
Interface Recognizer

All Known Implementing Classes:
RecognizerImpl

public interface Recognizer

Author:
honkkis

Method Summary
 void addXResultListener(XRecognizerListener list)
           
 void getOneResultAsync()
          gets one result asynchronously, note that you have to set the result listener, in order to get the results, since this method returns immediately
 java.lang.String getOneResultSync()
           
 void setGrammar(java.io.Reader r)
           
 void stopRecognizing()
           
 

Method Detail

setGrammar

public void setGrammar(java.io.Reader r)
                throws java.lang.Exception
Throws:
java.lang.Exception

getOneResultSync

public java.lang.String getOneResultSync()

getOneResultAsync

public void getOneResultAsync()
gets one result asynchronously, note that you have to set the result listener, in order to get the results, since this method returns immediately


stopRecognizing

public void stopRecognizing()

addXResultListener

public void addXResultListener(XRecognizerListener list)


X-Smiles 1.2