30 lines
771 B
Plaintext
30 lines
771 B
Plaintext
|
//speechrecog
|
||
|
RECOGNIZE 543257 MRCP/1.0
|
||
|
Confidence-Threshold:90
|
||
|
Content-Type:application/grammar+xml
|
||
|
Content-Id:request1@form-level.store
|
||
|
Content-Length:608
|
||
|
|
||
|
<?xml version="1.0"?>
|
||
|
|
||
|
<!-- the default grammar language is US English -->
|
||
|
<grammar xml:lang="en-US" version="1.0">
|
||
|
|
||
|
<!-- single language attachment to tokens -->
|
||
|
<rule id="yes">
|
||
|
<one-of>
|
||
|
<item xml:lang="fr-CA">oui</item>
|
||
|
<item xml:lang="en-US">yes</item>
|
||
|
</one-of>
|
||
|
</rule>
|
||
|
|
||
|
<!-- single language attachment to a rule expansion -->
|
||
|
<rule id="request">
|
||
|
may I speak to
|
||
|
<one-of xml:lang="fr-CA">
|
||
|
<item>Michel Tremblay</item>
|
||
|
<item>Andre Roy</item>
|
||
|
</one-of>
|
||
|
</rule>
|
||
|
|
||
|
</grammar>
|