257 lines
14 KiB
XML
257 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!-- Generated by graphviz version 16.0.0 (0)
|
|
-->
|
|
<!-- Title: grammar Pages: 1 -->
|
|
<svg width="431pt" height="334pt"
|
|
viewBox="0.00 0.00 431.00 334.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 329.5)">
|
|
<title>grammar</title>
|
|
<polygon fill="white" stroke="none" points="-4,4 -4,-329.5 427.25,-329.5 427.25,4 -4,4"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="211.62" y="-308.2" font-family="Times,serif" font-size="14.00">expr step 3 before: merge S,T_b</text>
|
|
<!-- nt_S -->
|
|
<g id="node1" class="node">
|
|
<title>nt_S</title>
|
|
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-131" rx="18" ry="18"/>
|
|
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-131" rx="22" ry="22"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="22" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">S</text>
|
|
</g>
|
|
<!-- pr_3 -->
|
|
<g id="node10" class="node">
|
|
<title>pr_3</title>
|
|
<polygon fill="none" stroke="red" stroke-width="2.5" points="141.75,-218 85.25,-218 85.25,-182 141.75,-182 141.75,-218"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-202.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">T_( S T_)</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-190.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.053</text>
|
|
</g>
|
|
<!-- nt_S->pr_3 -->
|
|
<g id="edge7" class="edge">
|
|
<title>nt_S->pr_3</title>
|
|
<path fill="none" stroke="black" d="M40.68,-144.63C51.5,-152.98 65.71,-163.93 78.63,-173.89"/>
|
|
<polygon fill="black" stroke="black" points="76.48,-176.65 86.54,-179.99 80.76,-171.11 76.48,-176.65"/>
|
|
</g>
|
|
<!-- pr_5 -->
|
|
<g id="node12" class="node">
|
|
<title>pr_5</title>
|
|
<polygon fill="none" stroke="red" stroke-width="2.5" points="140.5,-90 86.5,-90 86.5,-54 140.5,-54 140.5,-90"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-74.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">T_b</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-62.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.789</text>
|
|
</g>
|
|
<!-- nt_S->pr_5 -->
|
|
<g id="edge13" class="edge">
|
|
<title>nt_S->pr_5</title>
|
|
<path fill="none" stroke="black" d="M41.54,-118.78C51.56,-112.17 64.29,-103.78 76.19,-95.94"/>
|
|
<polygon fill="black" stroke="black" points="77.8,-99.07 84.22,-90.64 73.95,-93.22 77.8,-99.07"/>
|
|
</g>
|
|
<!-- pr_7 -->
|
|
<g id="node14" class="node">
|
|
<title>pr_7</title>
|
|
<polygon fill="none" stroke="red" stroke-width="2.5" points="140.5,-36 86.5,-36 86.5,0 140.5,0 140.5,-36"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-20.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">a</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-8.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.053</text>
|
|
</g>
|
|
<!-- nt_S->pr_7 -->
|
|
<g id="edge17" class="edge">
|
|
<title>nt_S->pr_7</title>
|
|
<path fill="none" stroke="black" d="M35.28,-112.22C46.11,-96.09 62.75,-72.23 85.03,-45.77"/>
|
|
<polygon fill="black" stroke="black" points="87.63,-48.12 91.47,-38.25 82.31,-43.57 87.63,-48.12"/>
|
|
</g>
|
|
<!-- pr_8 -->
|
|
<g id="node15" class="node">
|
|
<title>pr_8</title>
|
|
<polygon fill="none" stroke="red" stroke-width="2.5" points="140.5,-156 86.5,-156 86.5,-120 140.5,-120 140.5,-156"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-140.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">S T_* S</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-128.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.105</text>
|
|
</g>
|
|
<!-- nt_S->pr_8 -->
|
|
<g id="edge19" class="edge">
|
|
<title>nt_S->pr_8</title>
|
|
<path fill="none" stroke="black" d="M45.12,-132.73C53.9,-133.42 64.26,-134.23 74.19,-135"/>
|
|
<polygon fill="black" stroke="black" points="73.77,-138.48 84.01,-135.77 74.32,-131.5 73.77,-138.48"/>
|
|
</g>
|
|
<!-- nt_T__ -->
|
|
<g id="node2" class="node">
|
|
<title>nt_T__</title>
|
|
<ellipse fill="none" stroke="black" cx="210" cy="-175" rx="27" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="210" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">T_*</text>
|
|
</g>
|
|
<!-- pr_0 -->
|
|
<g id="node7" class="node">
|
|
<title>pr_0</title>
|
|
<polygon fill="none" stroke="black" points="328,-193 274,-193 274,-157 328,-157 328,-193"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-177.5" font-family="Helvetica,sans-Serif" font-size="10.00">*</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-165.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=0.500</text>
|
|
</g>
|
|
<!-- nt_T__->pr_0 -->
|
|
<g id="edge1" class="edge">
|
|
<title>nt_T__->pr_0</title>
|
|
<path fill="none" stroke="black" d="M237.22,-175C245.12,-175 253.94,-175 262.43,-175"/>
|
|
<polygon fill="black" stroke="black" points="262.14,-178.5 272.14,-175 262.14,-171.5 262.14,-178.5"/>
|
|
</g>
|
|
<!-- pr_1 -->
|
|
<g id="node8" class="node">
|
|
<title>pr_1</title>
|
|
<polygon fill="none" stroke="black" points="328,-139 274,-139 274,-103 328,-103 328,-139"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-123.5" font-family="Helvetica,sans-Serif" font-size="10.00">)</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-111.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
|
|
</g>
|
|
<!-- nt_T__->pr_1 -->
|
|
<g id="edge3" class="edge">
|
|
<title>nt_T__->pr_1</title>
|
|
<path fill="none" stroke="black" d="M230.75,-163.02C240.5,-157.1 252.56,-149.78 263.88,-142.92"/>
|
|
<polygon fill="black" stroke="black" points="265.52,-146.01 272.26,-137.83 261.89,-140.03 265.52,-146.01"/>
|
|
</g>
|
|
<!-- pr_4 -->
|
|
<g id="node11" class="node">
|
|
<title>pr_4</title>
|
|
<polygon fill="none" stroke="black" points="328,-301 274,-301 274,-265 328,-265 328,-301"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">+</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=0.500</text>
|
|
</g>
|
|
<!-- nt_T__->pr_4 -->
|
|
<g id="edge11" class="edge">
|
|
<title>nt_T__->pr_4</title>
|
|
<path fill="none" stroke="black" d="M222.83,-191.23C235.14,-207.87 255.22,-234.32 274,-256 274.08,-256.09 274.15,-256.18 274.23,-256.27"/>
|
|
<polygon fill="black" stroke="black" points="271.51,-258.47 280.82,-263.53 276.69,-253.77 271.51,-258.47"/>
|
|
</g>
|
|
<!-- pr_6 -->
|
|
<g id="node13" class="node">
|
|
<title>pr_6</title>
|
|
<polygon fill="none" stroke="black" points="328,-247 274,-247 274,-211 328,-211 328,-247"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-231.5" font-family="Helvetica,sans-Serif" font-size="10.00">(</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-219.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
|
|
</g>
|
|
<!-- nt_T__->pr_6 -->
|
|
<g id="edge15" class="edge">
|
|
<title>nt_T__->pr_6</title>
|
|
<path fill="none" stroke="black" d="M230.75,-186.98C240.5,-192.9 252.56,-200.22 263.88,-207.08"/>
|
|
<polygon fill="black" stroke="black" points="261.89,-209.97 272.26,-212.17 265.52,-203.99 261.89,-209.97"/>
|
|
</g>
|
|
<!-- nt_T_b -->
|
|
<g id="node3" class="node">
|
|
<title>nt_T_b</title>
|
|
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="210" cy="-72" rx="27" ry="18"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="210" y="-68.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">T_b</text>
|
|
</g>
|
|
<!-- pr_2 -->
|
|
<g id="node9" class="node">
|
|
<title>pr_2</title>
|
|
<polygon fill="none" stroke="red" stroke-width="2.5" points="328,-85 274,-85 274,-49 328,-49 328,-85"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-69.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">b</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="301" y="-57.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=1.000</text>
|
|
</g>
|
|
<!-- nt_T_b->pr_2 -->
|
|
<g id="edge5" class="edge">
|
|
<title>nt_T_b->pr_2</title>
|
|
<path fill="none" stroke="black" d="M237.7,-70.5C245.2,-70.08 253.51,-69.61 261.55,-69.16"/>
|
|
<polygon fill="black" stroke="black" points="261.71,-72.66 271.5,-68.6 261.32,-65.67 261.71,-72.66"/>
|
|
</g>
|
|
<!-- tm__ -->
|
|
<g id="node4" class="node">
|
|
<title>tm__</title>
|
|
<text xml:space="preserve" text-anchor="middle" x="396.25" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">+</text>
|
|
</g>
|
|
<!-- tm_a -->
|
|
<g id="node5" class="node">
|
|
<title>tm_a</title>
|
|
<text xml:space="preserve" text-anchor="middle" x="210" y="-14.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">a</text>
|
|
</g>
|
|
<!-- tm_b -->
|
|
<g id="node6" class="node">
|
|
<title>tm_b</title>
|
|
<text xml:space="preserve" text-anchor="middle" x="396.25" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">b</text>
|
|
</g>
|
|
<!-- pr_0->tm__ -->
|
|
<g id="edge2" class="edge">
|
|
<title>pr_0->tm__</title>
|
|
<path fill="none" stroke="black" d="M328.47,-182.66C337.78,-185.36 348.42,-188.44 358.43,-191.34"/>
|
|
<polygon fill="black" stroke="black" points="357.32,-194.66 367.9,-194.08 359.27,-187.94 357.32,-194.66"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-190.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_1->tm__ -->
|
|
<g id="edge4" class="edge">
|
|
<title>pr_1->tm__</title>
|
|
<path fill="none" stroke="black" d="M323.16,-139.38C335.98,-150.51 352.49,-164.86 366.49,-177.01"/>
|
|
<polygon fill="black" stroke="black" points="363.83,-179.34 373.67,-183.26 368.42,-174.06 363.83,-179.34"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-163.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_2->tm_b -->
|
|
<g id="edge6" class="edge">
|
|
<title>pr_2->tm_b</title>
|
|
<path fill="none" stroke="black" d="M328.97,-67C338,-67 348.22,-67 357.9,-67"/>
|
|
<polygon fill="black" stroke="black" points="357.79,-70.5 367.79,-67 357.79,-63.5 357.79,-70.5"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-68.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_3->nt_S -->
|
|
<g id="edge9" class="edge">
|
|
<title>pr_3->nt_S</title>
|
|
<path fill="none" stroke="black" d="M84.06,-188.99C76.52,-185.42 68.64,-181.05 62,-176 55.21,-170.84 48.75,-164.33 43.1,-157.88"/>
|
|
<polygon fill="black" stroke="black" points="46,-155.89 36.93,-150.41 40.61,-160.35 46,-155.89"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-181.44" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
|
|
</g>
|
|
<!-- pr_3->nt_T__ -->
|
|
<g id="edge8" class="edge">
|
|
<title>pr_3->nt_T__</title>
|
|
<path fill="none" stroke="black" d="M142.85,-192.5C152.49,-189.95 163.39,-187.07 173.51,-184.39"/>
|
|
<polygon fill="black" stroke="black" points="174.27,-187.81 183.04,-181.87 172.48,-181.04 174.27,-187.81"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-189.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_3->nt_T__ -->
|
|
<g id="edge10" class="edge">
|
|
<title>pr_3->nt_T__</title>
|
|
<path fill="none" stroke="black" d="M140.66,-180.85C146.65,-177.41 153.2,-174.33 159.75,-172.5 163.62,-171.42 167.72,-170.81 171.85,-170.55"/>
|
|
<polygon fill="black" stroke="black" points="171.82,-174.05 181.83,-170.6 171.85,-167.05 171.82,-174.05"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-174.45" font-family="Helvetica,sans-Serif" font-size="9.00">3</text>
|
|
</g>
|
|
<!-- pr_4->tm__ -->
|
|
<g id="edge12" class="edge">
|
|
<title>pr_4->tm__</title>
|
|
<path fill="none" stroke="black" d="M323.16,-264.62C335.98,-253.49 352.49,-239.14 366.49,-226.99"/>
|
|
<polygon fill="black" stroke="black" points="368.42,-229.94 373.67,-220.74 363.83,-224.66 368.42,-229.94"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-244.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_5->nt_T_b -->
|
|
<g id="edge14" class="edge">
|
|
<title>pr_5->nt_T_b</title>
|
|
<path fill="none" stroke="black" d="M141.58,-72C150.58,-72 160.77,-72 170.46,-72"/>
|
|
<polygon fill="black" stroke="black" points="170.4,-75.5 180.4,-72 170.4,-68.5 170.4,-75.5"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-73.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_6->tm__ -->
|
|
<g id="edge16" class="edge">
|
|
<title>pr_6->tm__</title>
|
|
<path fill="none" stroke="black" d="M328.47,-221.34C337.78,-218.64 348.42,-215.56 358.43,-212.66"/>
|
|
<polygon fill="black" stroke="black" points="359.27,-216.06 367.9,-209.92 357.32,-209.34 359.27,-216.06"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-217.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_7->tm_a -->
|
|
<g id="edge18" class="edge">
|
|
<title>pr_7->tm_a</title>
|
|
<path fill="none" stroke="black" d="M141.58,-18C150.99,-18 161.71,-18 171.79,-18"/>
|
|
<polygon fill="black" stroke="black" points="171.7,-21.5 181.7,-18 171.7,-14.5 171.7,-21.5"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-19.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_8->nt_S -->
|
|
<g id="edge20" class="edge">
|
|
<title>pr_8->nt_S</title>
|
|
<path fill="none" stroke="black" d="M85.27,-124.89C79.45,-122.66 73.25,-120.68 67.25,-119.5 63.03,-118.67 58.61,-118.71 54.27,-119.28"/>
|
|
<polygon fill="black" stroke="black" points="53.59,-115.85 44.62,-121.49 55.15,-122.67 53.59,-115.85"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-121.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
|
|
</g>
|
|
<!-- pr_8->nt_S -->
|
|
<g id="edge22" class="edge">
|
|
<title>pr_8->nt_S</title>
|
|
<path fill="none" stroke="black" d="M85.44,-142.3C77.84,-142.92 69.58,-143.05 62,-142 59.66,-141.68 57.26,-141.25 54.86,-140.75"/>
|
|
<polygon fill="black" stroke="black" points="55.84,-137.39 45.29,-138.38 54.16,-144.18 55.84,-137.39"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-144.4" font-family="Helvetica,sans-Serif" font-size="9.00">3</text>
|
|
</g>
|
|
<!-- pr_8->nt_T__ -->
|
|
<g id="edge21" class="edge">
|
|
<title>pr_8->nt_T__</title>
|
|
<path fill="none" stroke="black" d="M141.58,-147.66C149.19,-150.44 157.44,-153.53 165,-156.5 168.66,-157.94 172.47,-159.48 176.26,-161.03"/>
|
|
<polygon fill="black" stroke="black" points="174.72,-164.19 185.3,-164.8 177.42,-157.73 174.72,-164.19"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-158.45" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
|
|
</g>
|
|
</g>
|
|
</svg>
|