We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

How do I recognize a substring of a long phrase?

Answers to common Plum DEV questions

Moderators: admin, support

Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA

How do I recognize a substring of a long phrase?

Post 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">

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.