How do I recognize a substring of a long phrase?
Posted: Fri Jun 13, 2003 1:56 pm
The Plum Voice Portal supports multiple speech recognition engines, and thus many grammar formats. The two main grammar formats are SRGS and JSGF. In both cases, substrings of the utterance are actively searched for.
So, in SRGS:
in JSGF:
In all of these cases the spoken utterance:
Would match the grammar, with a hypothesis of "bases" and an unpredictable utterance.
So, in SRGS:
Code: Select all
<grammar type="application/srgs">
<rule id="action" scope="public">
<one-of>
<item>
bases
</item>
</one-of>
</rule>
</grammar>
Code: Select all
<grammar type="application/jsgf">( bases )</grammar>
Code: Select all
"All your bases are belong to us"