SpeechSynthesis


SpeechRecognition



Puoi usare:

1) single tag

2) *tag
annyang will capture anything after a splat (*) and pass it to the function.
named variables for one word arguments in your command.
e.g. saying "Show me Batman and Robin" will call showFlickr('Batman and Robin');
'show me *tag': showFlickr,

3) :variable
A named variable is a one word variable, that can fit anywhere in your command.
e.g. saying "calculate October stats" will call calculateStats('October');
'calculate :month stats': calculateStats,

4) (optional variables)
By defining a part of the following command as optional, annyang will respond
to both: "say hello to my little friend" as well as "say hello friend"
'say hello (to my little) friend': greeting