Main / Personal projects / Using Wami From Other Programming Languages

The WAMI Toolkit is a Javascript/Java applet that can be used to add speech recognition to any web page. Audio is sent to CSAIL serverse, the speech recognizer is run there, and the response is sent back to the hosting web page. It’s useful to be able to send speech recognition results to other programs. To solve this problem I wrote a quick javascript-XML rpc interface. This diagram shows the basic architecture:

Diagram of data flow with WAMI.

To use it, you’ll have to get your own WAMI developer key. You might also have issues with cross-domain javascript security limitations. Javascript web pages aren’t allowed to connect to other pages in different domains. I ran wami.html from a file:// URL and got it to work by setting security.fileuri.strict_origin_policy to False in about:config. (http://kb.mozillazine.org/Security.fileuri.strict_origin_policy)