Files
2026-09-18 16:27:30 +00:00

161 lines
9.1 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="187pt"
viewBox="0.00 0.00 431.00 187.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 182.5)">
<title>grammar</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-182.5 427.25,-182.5 427.25,4 -4,4"/>
<text xml:space="preserve" text-anchor="middle" x="211.62" y="-161.2" font-family="Times,serif" font-size="14.00">parens step 2 after: merge S,X</text>
<!-- nt_S -->
<g id="node1" class="node">
<title>nt_S</title>
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-85" rx="18" ry="18"/>
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-85" rx="22" ry="22"/>
<text xml:space="preserve" text-anchor="middle" x="22" y="-81.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">S</text>
</g>
<!-- pr_0 -->
<g id="node4" class="node">
<title>pr_0</title>
<polygon fill="none" stroke="red" stroke-width="2.5" points="140.5,-154 86.5,-154 86.5,-118 140.5,-118 140.5,-154"/>
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">S S</text>
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-126.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.190</text>
</g>
<!-- nt_S&#45;&gt;pr_0 -->
<g id="edge1" class="edge">
<title>nt_S&#45;&gt;pr_0</title>
<path fill="none" stroke="black" d="M30.07,-106.68C36.08,-121.22 46.27,-139.24 62,-148 65.76,-150.1 69.88,-150.99 74.09,-151.06"/>
<polygon fill="black" stroke="black" points="74.32,-154.56 83.77,-149.77 73.4,-147.62 74.32,-154.56"/>
</g>
<!-- pr_2 -->
<g id="node6" class="node">
<title>pr_2</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_( T_)</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.429</text>
</g>
<!-- nt_S&#45;&gt;pr_2 -->
<g id="edge6" class="edge">
<title>nt_S&#45;&gt;pr_2</title>
<path fill="none" stroke="black" d="M44.67,-81.85C53.54,-80.56 64.07,-79.03 74.17,-77.57"/>
<polygon fill="black" stroke="black" points="74.37,-81.08 83.76,-76.17 73.36,-74.15 74.37,-81.08"/>
</g>
<!-- pr_3 -->
<g id="node7" class="node">
<title>pr_3</title>
<polygon fill="none" stroke="red" stroke-width="2.5" points="141.75,-36 85.25,-36 85.25,0 141.75,0 141.75,-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">T_( S T_)</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.381</text>
</g>
<!-- nt_S&#45;&gt;pr_3 -->
<g id="edge9" class="edge">
<title>nt_S&#45;&gt;pr_3</title>
<path fill="none" stroke="black" d="M40.68,-71.76C51.34,-63.78 65.28,-53.35 78.04,-43.8"/>
<polygon fill="black" stroke="black" points="79.94,-46.75 85.85,-37.95 75.74,-41.14 79.94,-46.75"/>
</g>
<!-- nt_T__ -->
<g id="node2" class="node">
<title>nt_T__</title>
<ellipse fill="none" stroke="black" cx="210" cy="-45" rx="27" ry="18"/>
<text xml:space="preserve" text-anchor="middle" x="210" y="-41.5" font-family="Helvetica,sans-Serif" font-size="10.00">T_)</text>
</g>
<!-- pr_1 -->
<g id="node5" class="node">
<title>pr_1</title>
<polygon fill="none" stroke="black" points="328,-91 274,-91 274,-55 328,-55 328,-91"/>
<text xml:space="preserve" text-anchor="middle" x="301" y="-75.5" font-family="Helvetica,sans-Serif" font-size="10.00">)</text>
<text xml:space="preserve" text-anchor="middle" x="301" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
</g>
<!-- nt_T__&#45;&gt;pr_1 -->
<g id="edge4" class="edge">
<title>nt_T__&#45;&gt;pr_1</title>
<path fill="none" stroke="black" d="M234.85,-52.5C243.44,-55.2 253.34,-58.32 262.79,-61.29"/>
<polygon fill="black" stroke="black" points="261.54,-64.57 272.13,-64.23 263.64,-57.89 261.54,-64.57"/>
</g>
<!-- pr_4 -->
<g id="node8" class="node">
<title>pr_4</title>
<polygon fill="none" stroke="black" points="328,-37 274,-37 274,-1 328,-1 328,-37"/>
<text xml:space="preserve" text-anchor="middle" x="301" y="-21.5" font-family="Helvetica,sans-Serif" font-size="10.00">(</text>
<text xml:space="preserve" text-anchor="middle" x="301" y="-9.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
</g>
<!-- nt_T__&#45;&gt;pr_4 -->
<g id="edge13" class="edge">
<title>nt_T__&#45;&gt;pr_4</title>
<path fill="none" stroke="black" d="M235.32,-37.9C243.74,-35.44 253.37,-32.62 262.59,-29.93"/>
<polygon fill="black" stroke="black" points="263.45,-33.32 272.07,-27.16 261.49,-26.6 263.45,-33.32"/>
</g>
<!-- tm__ -->
<g id="node3" class="node">
<title>tm__</title>
<text xml:space="preserve" text-anchor="middle" x="396.25" y="-42.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">)</text>
</g>
<!-- pr_0&#45;&gt;nt_S -->
<g id="edge2" class="edge">
<title>pr_0&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M85.47,-125.58C77.71,-122.23 69.36,-118.27 62,-114 57.81,-111.57 53.54,-108.78 49.44,-105.9"/>
<polygon fill="black" stroke="black" points="51.63,-103.17 41.5,-100.07 47.48,-108.81 51.63,-103.17"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-118.84" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_0&#45;&gt;nt_S -->
<g id="edge3" class="edge">
<title>pr_0&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M90.38,-117.07C83.29,-111.58 75.21,-105.89 67.25,-101.5 63.32,-99.33 59.06,-97.34 54.77,-95.54"/>
<polygon fill="black" stroke="black" points="56.27,-92.37 45.68,-92.05 53.76,-98.91 56.27,-92.37"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-103.45" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
</g>
<!-- pr_1&#45;&gt;tm__ -->
<g id="edge5" class="edge">
<title>pr_1&#45;&gt;tm__</title>
<path fill="none" stroke="black" d="M328.47,-65.34C337.78,-62.64 348.42,-59.56 358.43,-56.66"/>
<polygon fill="black" stroke="black" points="359.27,-60.06 367.9,-53.92 357.32,-53.34 359.27,-60.06"/>
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-61.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_2&#45;&gt;nt_T__ -->
<g id="edge7" class="edge">
<title>pr_2&#45;&gt;nt_T__</title>
<path fill="none" stroke="black" d="M141.65,-76.32C149.33,-76.67 157.6,-76.22 165,-74 171.4,-72.08 177.73,-68.9 183.51,-65.32"/>
<polygon fill="black" stroke="black" points="185.09,-68.48 191.38,-59.96 181.14,-62.7 185.09,-68.48"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-76.96" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_2&#45;&gt;nt_T__ -->
<g id="edge8" class="edge">
<title>pr_2&#45;&gt;nt_T__</title>
<path fill="none" stroke="black" d="M141.58,-64.26C151.7,-61.37 163.34,-58.05 174.07,-54.98"/>
<polygon fill="black" stroke="black" points="174.71,-58.44 183.36,-52.33 172.78,-51.71 174.71,-58.44"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-60.45" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
</g>
<!-- pr_3&#45;&gt;nt_S -->
<g id="edge11" class="edge">
<title>pr_3&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M84.01,-27.44C76.48,-30.64 68.61,-34.66 62,-39.5 55.08,-44.57 48.56,-51.1 42.92,-57.62"/>
<polygon fill="black" stroke="black" points="40.35,-55.23 36.75,-65.19 45.78,-59.65 40.35,-55.23"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-41.45" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
</g>
<!-- pr_3&#45;&gt;nt_T__ -->
<g id="edge10" class="edge">
<title>pr_3&#45;&gt;nt_T__</title>
<path fill="none" stroke="black" d="M142.85,-26.1C152.57,-28.88 163.56,-32.02 173.76,-34.93"/>
<polygon fill="black" stroke="black" points="172.79,-38.29 183.36,-37.68 174.71,-31.56 172.79,-38.29"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-34.26" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_3&#45;&gt;nt_T__ -->
<g id="edge12" class="edge">
<title>pr_3&#45;&gt;nt_T__</title>
<path fill="none" stroke="black" d="M142.93,-14.87C150.24,-14.84 158,-15.49 165,-17.5 171.06,-19.24 177.1,-22.08 182.67,-25.3"/>
<polygon fill="black" stroke="black" points="180.52,-28.07 190.83,-30.51 184.29,-22.18 180.52,-28.07"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-19.45" font-family="Helvetica,sans-Serif" font-size="9.00">3</text>
</g>
<!-- pr_4&#45;&gt;tm__ -->
<g id="edge14" class="edge">
<title>pr_4&#45;&gt;tm__</title>
<path fill="none" stroke="black" d="M328.47,-26.66C337.78,-29.36 348.42,-32.44 358.43,-35.34"/>
<polygon fill="black" stroke="black" points="357.32,-38.66 367.9,-38.08 359.27,-31.94 357.32,-38.66"/>
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-34.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
</g>
</svg>