socket
Class SpeechHandler.RunnableRecognition

java.lang.Object
  extended by socket.SpeechHandler.RunnableRecognition
Enclosing class:
SpeechHandler

public class SpeechHandler.RunnableRecognition
extends java.lang.Object

When running this thread: the client connects to the regserver.


Field Summary
private  java.lang.String interpret4DialogueServer
           
private  net.sf.regulus.NBestRegResult nbestRegResult
           
 
Constructor Summary
SpeechHandler.RunnableRecognition()
           
 
Method Summary
 java.lang.String getInterpret4DialogueServer()
           
 boolean getLastWavFileRetrieved()
           
 net.sf.regulus.NBestRegResult getNbestRegResult()
           
 void run()
          Invokes the regserver with the grammar specified in the constructor Gets the response received by regClient and calls Client methods in order to update the interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interpret4DialogueServer

private java.lang.String interpret4DialogueServer

nbestRegResult

private net.sf.regulus.NBestRegResult nbestRegResult
Constructor Detail

SpeechHandler.RunnableRecognition

public SpeechHandler.RunnableRecognition()
Method Detail

getNbestRegResult

public net.sf.regulus.NBestRegResult getNbestRegResult()

run

public void run()
Invokes the regserver with the grammar specified in the constructor Gets the response received by regClient and calls Client methods in order to update the interface


getLastWavFileRetrieved

public boolean getLastWavFileRetrieved()

getInterpret4DialogueServer

public java.lang.String getInterpret4DialogueServer()