Page 1 of 1

How do I recognize a substring of a long phrase?

Posted: Fri Jun 13, 2003 1:56 pm
by support
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:

Code: Select all

<grammar type="application/srgs">
<rule id="action" scope="public">
  <one-of>
    <item>
      bases
    </item>
  </one-of>
</rule>
</grammar>


in JSGF:

Code: Select all

<grammar type="application/jsgf">( bases )</grammar>


In all of these cases the spoken utterance:

Code: Select all

"All your bases are belong to us"

Would match the grammar, with a hypothesis of "bases" and an unpredictable utterance.