1 <?xml version="1.0" encoding="ISO8859-1" ?> 2 <!-- 3 Test grammar, stacked slots 4 --> 5 <grammar xml:lang="en-us" version="1.0" root="ROOT"> 6 <meta name="word_penalty" content="40" /> 7 8 <rule id="ROOT" scope="public"> 9 <one-of> 10 <item> 11 <item> <ruleref uri="#slot1"/> <tag>MEANING=slot1.V;</tag></item> 12 </item> 13 <item> 14 <item> <ruleref uri="#slot1"/> <tag>MEANING=slot1.V;</tag></item> 15 <item> <ruleref uri="#slot2"/> <tag>MEANING=slot2.V;</tag></item> 16 </item> 17 <item> 18 <item> <ruleref uri="#slot1"/> <tag>MEANING=slot1.V;</tag></item> 19 <item> <ruleref uri="#slot2"/> <tag>MEANING=slot2.V;</tag></item> 20 <item> <ruleref uri="#slot3"/> <tag>MEANING=slot3.V;</tag></item> 21 </item> 22 <item> 23 <item> <ruleref uri="#slot1"/> <tag>MEANING=slot1.V;</tag></item> 24 <item> <ruleref uri="#slot2"/> <tag>MEANING=slot2.V;</tag></item> 25 <item> <ruleref uri="#slot3"/> <tag>MEANING=slot3.V;</tag></item> 26 <item> <ruleref uri="#slot4"/> <tag>MEANING=slot4.V;</tag></item> 27 </item> 28 </one-of> 29 </rule> 30 31 <rule id="slot1" scope="public"> 32 <item>__slot1__</item> 33 <item>word1<tag>V='word1';</tag></item> 34 </rule> 35 36 <rule id="slot2" scope="public"> 37 <item>__slot2__</item> 38 <item>word2<tag>V='word2';</tag></item> 39 </rule> 40 41 <rule id="slot3" scope="public"> 42 <item>__slot3__</item> 43 <item>word3<tag>V='word3';</tag></item> 44 </rule> 45 46 <rule id="slot4" scope="public"> 47 <item>__slot4__</item> 48 <item>word4<tag>V='word4';</tag></item> 49 </rule> 50 51 52 </grammar> 53