===== VoiceXML Example : Speech Recognition =====
**Simple inline grammar**
The VoiceXML browser will use an grammar definied in the document.
This is a case of a SRGS/GRXML simple grammar.
Download :
[[http://links.i6net.com/vxml_examples/vestec/vestec1.vxml|vestec1.vxml]]
**Simple ABNF reference grammar**
/*
Vestec Automatic Speech Recognition Engine Version 1.0
Copyright (c) 2009 Voice Enabling Systems Technology, Inc. All rights reserved.
*/
#ABNF 1.0;
$Yesno = $Yes {si} | $No {no};
$Yes =
si
| sip
| claro
;
$No =
no
;
The VoiceXML browser will use a grammar file with the ABNF syntax.
Download :
[[http://links.i6net.com/vxml_examples/vestec/vestec2.vxml|vestec2.vxml]]
[[http://links.i6net.com/vxml_examples/vestec/yesno_es.grm|yesno_es.grm]]