Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@pke
Created April 16, 2015 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pke/090714c8cd6f3ccf556b to your computer and use it in GitHub Desktop.
Save pke/090714c8cd6f3ccf556b to your computer and use it in GitHub Desktop.
<grammar xml:lang="en-US"
root="createCommands"
version="1.0"
tag-format="semantics/1.0"
xmlns="http://www.w3.org/2001/06/grammar">
<rule id="createAction">
<one-of>
<item>create</item>
<item>new</item>
<item>add</item>
<item>archive</item>
<item>delete</item>
</one-of>
</rule>
<rule id="what">
<one-of>
<item>board</item>
<item>list</item>
<item>card</item>
</one-of>
</rule>
<rule id="createCommands">
<ruleref uri="#createAction"/>
<ruleref uri="#what"/>
<ruleref uri="grammar:dictation" type="application/srgs+xml"/>
<tag>out.SpokenText=rules.latest();</tag>
</rule>
</grammar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment