Conflicting posts in newsgroups dealing with the new multimodal browser released from Opera raise the question of which grammar formats are supported in the new browser.
This post on the VoiceXML Forum Community Message Board bemoans the lack of support for the SRGS (Speech Recognition Grammar Specification) format for speech grammars in Opera 8. It suggests that the new browser only supports the JSGF (Java Speech Grammar Format).
This would be a major issue in my opinion, as the SRGS specification is closely tied to the VoiceXML standard ““ both were developed under the auspices of the W3C, both were adopted as standards on the same day and the certification of both developers and platforms by the VoiceXML Forum is contingent on support for the SRGS. If one of the benefits of XHTML+Voice is that it will leverage the existing skills of VoiceXML developers, why wouldn’t the first XHTML+Voice browser support the designated standard for grammars under the VoiceXML specification?
After further research, I came across this post on the Opera Developer forum. It states pretty clearly that the SRGS spec is indeed supported in Opera 8. The only way to be sure, however, is to set up a quick test.
Using one of the examples on the Opera developer site, which is designed to use a JSGF grammar, I modified the example to use an SRGS grammar (in XML format). These two sample files can be tested by pointing the latest version of the Opera Browser at the links below:
- Grammar Test 1 (using JSGF grammar)
- Grammar Test 2 (using SRGS grammar)
Both work identically, demonstrating that the new XHTML+Voice enabled browser from Opera does indeed support the SRGS grammar format.