recognize.msg 903 B

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