recognize.msg 771 B

123456789101112131415161718192021222324252627282930
  1. //speechrecog
  2. RECOGNIZE 543257 MRCP/1.0
  3. Confidence-Threshold:90
  4. Content-Type:application/grammar+xml
  5. Content-Id:request1@form-level.store
  6. Content-Length:608
  7. <?xml version="1.0"?>
  8. <!-- the default grammar language is US English -->
  9. <grammar 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>