@ 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 an unusual type of nesting -->
   <!-- the second occurrence of symbol1 is directly  -->
   <!-- nested in an item tag, but for the purpose of -->
   <!-- determining the sources of arcs that terminate-->
   <!-- on that symbol, it is really nested in the    -->
   <!-- one-of tag that lies outside the item tag.    --> 
<grammar root='word'>
<rule id='word'>
  <item> symbol0 </item>
  <item> symbol1 </item> <!-- a duplicate symbol -->
  <one-of> 
    <item>
      <item> symbol1 </item><!-- really it's nested in a one-of -->
      <one-of>
        <item> symbol2a </item>
        <item> symbol2b </item>
        <item> symbol2c </item>
      </one-of>
      <item> symbol3 </item>
    </item> <!-- things it's nested in an item -->
    <item>    
      <item> 
        <one-of> <!-- This is the tricky bit -->
           <item> symbol4 </item>
           <item> symbol5 </item>
        </one-of>
      </item>
      <item> symbol6 </item> 
      <item> symbol7 </item>
    </item>
  </one-of>
  <item> symbol1 </item>  <!-- a duplicate symbol -->   
</rule>
</grammar>
 "
};
