definegrammar.msg 865 B

123456789101112131415161718192021222324252627282930
  1. MRCP/2.0 865 DEFINE-GRAMMAR 543257
  2. Channel-Identifier:32AECB23433801@speechrecog
  3. Content-Type:application/srgs+xml
  4. Content-ID:<request1@form-level.store>
  5. Content-Length:685
  6. <?xml version="1.0"?>
  7. <!-- the default grammar language is US English -->
  8. <grammar xmlns="http://www.w3.org/2001/06/grammar"
  9. xml:lang="en-US" version="1.0">
  10. <!-- single language attachment to tokens -->
  11. <rule id="yes">
  12. <one-of>
  13. <item xml:lang="fr-CA">oui</item>
  14. <item xml:lang="en-US">yes</item>
  15. </one-of>
  16. </rule>
  17. <!-- single language attachment to a rule expansion -->
  18. <rule id="request">
  19. may I speak to
  20. <one-of xml:lang="fr-CA">
  21. <item>Michel Tremblay</item>
  22. <item>Andre Roy</item>
  23. </one-of>
  24. </rule>
  25. </grammar>