speech.tools
Class AskerAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.util.GoodAgent
|
+--speech.tools.SpeechAgent
|
+--speech.tools.AskerAgent
- public class AskerAgent
- extends SpeechAgent
- implements Speech, Asker
- See Also:
- Serialized Form
Methods inherited from class agentland.util.GoodAgent |
addSpy,
addSpy,
alert,
alertString,
beep,
error,
getAlert,
getHistory,
getHistoryElement,
getPersistentMap,
log,
notify,
removeSpy,
removeSpy,
resetHistory,
safeRely,
safeRely,
safeRely,
setNiceLogName,
tell |
Methods inherited from class metaglue.AgentAgent |
addMonitor,
alive,
defrost,
defrostAll,
defrostBoolean,
defrostInt,
defrostString,
fixAttribute,
fixAttribute,
freeze,
freeze,
freeze,
freezeAll,
freezeVar,
getAgentID,
getAttribute,
getCatalog,
getCatalogID,
getDesignation,
getFrozenVariables,
getLogLevel,
getMetaglueAgent,
getMetaglueAgentID,
getOccupation,
getProperties,
getSociety,
log,
log,
obtainMetaglueAgent,
obtainMetaglueAgent,
obtainMetaglueAgentByName,
reliesOn,
reliesOn,
reliesOn,
reliesOnSynch,
removeFrozen,
replaceExceptionHandler,
setFreezeName,
setLogLevel,
setLogName,
shutdown,
startAgent,
startAgentOn,
startAgentOn,
startup,
status,
tiedTo,
tiedTo,
tiedTo,
tiedTo,
tieToDesignation,
whereAreYou |
AskerAgent
public AskerAgent()
throws RemoteException
ask
public int ask(String q)
throws RemoteException
- Description copied from interface: Asker
- Asks q, looks for a yes/no/maybe/unknown response
- Specified by:
- ask in interface Asker
ask
public int ask(String q,
int timeout)
throws RemoteException
- Specified by:
- ask in interface Asker
- Tags copied from interface: Asker
- Parameters:
timeout
- number of seconds until it gives up on your sorry
ass.
askFree
public String askFree(String q)
throws RemoteException
- Description copied from interface: Asker
- Ask free response question--this is not all that usefull given the
getDictation method of grammars, but it is better form? Maybe?
- Specified by:
- askFree in interface Asker
analyze
public int analyze(Hashtable response)
acceptedTagsResult
public void acceptedTagsResult(Hashtable tags)
- Overrides:
- acceptedTagsResult in class SpeechAgent