speech
Interface AppGrammar
- All Known Implementing Classes:
- AppGrammarAgent
- public interface AppGrammar
- extends Agent
A agent representing a single grammar which can be turned on/off,
etc.
setActive
public void setActive(boolean active)
throws RemoteException
- true = activate, false = deactivate
activate
public void activate()
throws RemoteException
- Make folks able to say our stuff!
activate
public void activate(String ruleName)
throws RemoteException
- Activate given rule.
deactivate
public void deactivate()
throws RemoteException
deactivate
public void deactivate(String ruleName)
throws RemoteException
addTagsListener
public void addTagsListener(RemoteTagsListener suppliedListener)
throws RemoteException
addAlternative
public void addAlternative(String ruleName,
String spokenText)
throws RemoteException
addAlternatives
public void addAlternatives(String ruleName,
Vector spokenText)
throws RemoteException
save
public void save()
throws RemoteException
listRuleNames
public Enumeration listRuleNames()
throws RemoteException
printRules
public void printRules()
throws RemoteException
getActiveRules
public Vector getActiveRules()
throws RemoteException
getName
public String getName()
throws RemoteException
getFile
public String getFile()
throws RemoteException
requestWakeUp
public void requestWakeUp()
throws RemoteException
requestWakeUp
public void requestWakeUp(boolean playattention)
throws RemoteException
isEnabled
public boolean isEnabled()
throws RemoteException
say
public void say(String s)
throws RemoteException
saySync
public void saySync(String s)
throws RemoteException
addAlternativeRule
public void addAlternativeRule(String ruleName,
String ruleNameToAdd)
throws RemoteException
setAlternatives
public void setAlternatives(String ruleName,
Vector spokenText)
throws RemoteException
addNewRuleAlternatives
public void addNewRuleAlternatives(String ruleName)
throws RemoteException
hasRule
public boolean hasRule(String ruleName)
throws RemoteException