@ Sof v1.0 @
@ LanguageModelXML 0 @
search_tag_0 = 
"<?xml version='1.0' encoding='utf-8'?>
<grammar root='level0'>
<rule id='level0'>
  word
</rule>
</grammar>
";
grammars_0 = { 
  "<?xml version='1.0' encoding='utf-8'?>
   <!-- this grammar tests the processing of a repeat -->
   <!-- request of '0-' times, meaning that the sequence -->
   <!-- may occur 0 or more times. This will cause a -->
   <!-- loop-back to be placed on the sequence and a -->
   <!-- dummy node to be placed in parallel with it, -->
   <!-- so as to allow any number of occurrances. -->
  
<grammar root='word'>
<rule id='word'>
  symbol0
  symbol1  <!-- a duplicate symbol -->
  <one-of> 
    <item repeat='0-'>
       symbol1 
      <one-of>
	<item>
		<ruleref uri='#rule2'/>  
	</item>      
      </one-of>
      symbol3
    </item>
    <item>
      <ruleref uri='#rule3'/>
    </item>
  </one-of>
  symbol1  <!-- a duplicate symbol -->   
</rule>

<rule id='rule2'>
  <item> symbol2a </item>
  <item> symbol2b </item>
  <item> symbol2c </item>
</rule>


<rule id='rule3'>
  symbol6 
  <item> 
    <one-of>
      <item> symbol4 </item>
      <item> symbol5 </item>
    </one-of>
  </item>
  symbol7
</rule>

</grammar>
 "
};
