speech.tools
Interface Asker
- All Known Implementing Classes:
- AskerAgent
- public interface Asker
- extends Agent
Method Summary |
int |
ask(String q)
Asks q, looks for a yes/no/maybe/unknown response |
int |
ask(String q,
int timeout)
|
String |
askFree(String q)
Ask free response question--this is not all that usefull given the
getDictation method of grammars, but it is better form? Maybe? |
NO
public static final int NO
YES
public static final int YES
MAYBE
public static final int MAYBE
UNKNOWN
public static final int UNKNOWN
ERROR
public static final int ERROR
ask
public int ask(String q)
throws RemoteException
- Asks q, looks for a yes/no/maybe/unknown response
ask
public int ask(String q,
int timeout)
throws RemoteException
- Parameters:
timeout
- number of seconds until it gives up on your sorry
ass.
askFree
public String askFree(String q)
throws RemoteException
- Ask free response question--this is not all that usefull given the
getDictation method of grammars, but it is better form? Maybe?