An Example Grammar Used With Generic Recognition
The example grammar is an SRGS grammar. Note that there are three items that sound very similar - "cisco", "tisco" and "misco". Also note that there are two items with the same word, "cisco", but different values for the security tag, "cisco1" and "cisco2".
<?xml version="1.0" encoding="ISO-8859-1"?>
<grammar xml:lang="en-US" version="1.0"
xmlns="http://www.w3.org/2001/06/grammar"
root="Securities">
<rule id="Securities" scope="public">
<ruleref uri="#Names"/>
</rule>
<rule id="Names">
<one-of>
<item>
<item> cisco </item>
<tag>security=" cisco1"</tag>
</item>
<item>
<item> cisco </item>
<tag>security=" cisco2"</tag>
</item>
<item>
<item> tisco </item>
<tag>security=" tisco"</tag>
</item>
<item>
<item> misco </item>
<tag>security="misco"</tag>
</item>
<item>
<item> microsoft </item>
<tag>security="microsoft"</tag>
</item>
</one-of>
</rule>
</grammar>