A Browser for a Public-Domain SpeechWeb
R. A. Frost
1-519-2534232 ext 2990
1-519-2534232 ext 2990
1-519-2534232 ext 2990
A SpeechWeb is a collection of hyperlinked applications, which are accessed remotely by speech browsers running on end-user devices. Links are activated through spoken commands. Despite the fact that protocols and technologies for creating and deploying speech applications have been readily available for several years, we have not seen the development of a Public-Domain SpeechWeb. In this paper, we show how freely available software and commonly used communication protocols can be used to change this situation.
Categories and Subject Descriptors
H.5.4 [Hypertext/Hypermedia]: Architectures, H.5.2 [User Interfaces]: Voice I/O.
Public-Domain SpeechWeb, X+V.
The web has hundreds of millions of users. However, for many people, and in many circumstances, the value of the web is limited owing to its dependence on vision.
Frost  has argued that the conventional web should be augmented with a Public-Domain SpeechWeb consisting of hyperlinked applications, that are designed specifically for natural-language interaction, created and deployed by non-expert as well as expert users, and which are accessible through readily-available voice browsers. (Hemphill and Thrift  made a similar argument over ten years ago but little has happened since then).
As explanation for the lack of progress on the development of a Public-Domain SpeechWeb, Frost et al  argue that commonly-used architectures for distributing speech applications are not conducive to such an endeavor. They propose an alternative: the LRRP architecture (see next page), in which Local grammar-based Recognition of speech is carried out by a voice browser on the user device, text translation is sent through the Internet for Remote Processing by an application residing on a conventional web server.
Although Frost et al have demonstrated the viability of using the LRRP architecture; they did not solve the problem of how to facilitate the involvement of non-expert users in the development and use of a Public-Domain SpeechWeb. In particular: 1) The prototype speech browsers, which they created, were based on proprietary software and could not be distributed. 2) The browsers required a substantial runtime environment on the local device. 3) Communication with remote applications involved non-standard protocols.
We have solved these problems by making use of the X+V voice markup language, in a novel way, as discussed in section 2. We have created a small prototype speechweb which we discuss in section 3, where we also explain how to access it. In section 4 we explain how others can create their own speechweb applications, deploy them on conventional servers, and access them using our X+V browser. We include the URL of a video demonstration and of an extended version of this paper.
The major objective of this paper is to illustrate how easy it is to build a Public-Domain SpeechWeb which can be accessed by freely-available browsers, and which can be extended by adding applications created by people with little or no knowledge of speech-recognition technology.
X+V is a markup language, which combines XHTML with a subset of VXML, and which is intended to be used for creating multi-modal hyperlinked applications .
Our use of X+V is a little different. Rather than implementing applications in X+V, we use a single X+V page as an interface (browser) into a set of remote hyperlinked speech applications, which can be written in any programming language.
When our X+V browser is directed to a remote application, it begins by downloading a recognition grammar from that application (which is used to tailor the local speech-recognition engine). Spoken user input is converted to text and sent to the remote application, which processes it and returns a text response, which is output as synthesized voice. If the user asks to be connected to another application, the input is recognized as such by the current application, which returns the appropriate URL to the X+V browser.
Due to the fact that current versions of the freely-available multi-modal web browser Opera  can be easily configured to incorporate the IBM speech-recognition technology and execute X+V pages, our browser can be used by anyone who has installed Opera on their computer.
We have constructed a small example speechweb consisting of three hyperlinked applications: Monty and Judy can answer a few questions such as “where do you live?”, “how old are you? etc. and link requests, such as “can I talk to solarman”. Solarman can answer around 160,000 questions such as:
who discovered phobos?
did hall discover every moon?
which planet is orbited by nereid?
which planet is orbited by two moons?
how many moons were discovered by kuiper?
Local Machine Voice output
Despite the differences in these applications, they are all hosted on the same web server, and are all accessible through our SpeechWeb browser using common communication protocols.
Begin by downloading Opera from www.opera.com and then configure it for voice capability: click on “Tools” from the toolbar, and choose “Preferences”. Then open the folder “Advanced” . Choose “Voice” from the list on the left. Then check the “Enable voice-controlled browsing” box near the top of the page. Choose “male” or “female” for speech-recognition, then the “scroll lock” option for the key to press when talking. Choose the “hold key while talking” option. Now you can access our speechweb applications by directing Opera to the following URL:
Our browser will open automatically in Opera. Hold down the Scroll Lock key while speaking into the microphone. Try these:
“hello there” “what can I say” “where do you live”
“can I talk to judy” OR “monty” OR “Solarman”
For Solarman, try questions such as those in section 3. You can interrupt the response by pressing the scroll key.
A video demonstration of a session with our example speech web is accessible at:
You need to create three files and put them into a web directory which supports the .cgi protocol: 1) You need a copy of our X+V browser, which can be obtained from the URL given in section 4. 2) A grammar file should then be created defining the input language of your application. 3) The interpreter for your application can be created as any text in/text out program written in any language. A detailed description of our browser, and complete information on how to create your own voice applications, is available at:
The authors acknowledge the support of NSERC, the Natural Science and Engineering Research Council of Canada.
 Frost, R. A. (2005) A call for a public-domain SpeechWeb. Commun. ACM 48, 11, 45–49.
R., Abdullah, N., Bhatia, K., Chitte, S., Hanna, F.,
 Hemphill, C.T. and Thrift, P. R. (1995) Surfing the Web by Voice.
Proceedings of the third ACM International Multimedia Conference (
 Opera: http://www.opera.com/
 VoiceXML Forum (2004) http://www.voicexml.org/specs/multimodal/x+v/12/
WWW 2007, . ACM 978-1-59593-654-7/07/0005.