This commit is contained in:
sneeker committed 2026-09-18 16:27:30 +00:00
commit 100e5a8239
96 files changed
+39927

No files matched your search

@@ -0,0 +1,210 @@
<?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="249pt"
viewBox="0.00 0.00 431.00 249.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 244.5)">
<title>grammar</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-244.5 427.25,-244.5 427.25,4 -4,4"/>
<text xml:space="preserve" text-anchor="middle" x="211.62" y="-223.2" font-family="Times,serif" font-size="14.00">addition step 2 after: merge S,T_a</text>
<!-- nt_S -->
<g id="node1" class="node">
<title>nt_S</title>
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-111" rx="18" ry="18"/>
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-111" rx="22" ry="22"/>
<text xml:space="preserve" text-anchor="middle" x="22" y="-107.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">S</text>
</g>
<!-- pr_0 -->
<g id="node6" class="node">
<title>pr_0</title>
<polygon fill="none" stroke="red" stroke-width="2.5" points="140.5,-216 86.5,-216 86.5,-180 140.5,-180 140.5,-216"/>
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-200.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">b</text>
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-188.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.143</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="M32.93,-131.5C39.78,-144.07 49.83,-159.83 62,-171 66.04,-174.71 70.69,-178.08 75.5,-181.08"/>
<polygon fill="black" stroke="black" points="73.69,-184.08 84.12,-185.96 77.14,-177.99 73.69,-184.08"/>
</g>
<!-- pr_2 -->
<g id="node8" class="node">
<title>pr_2</title>
<polygon fill="none" stroke="red" stroke-width="2.5" points="141.75,-162 85.25,-162 85.25,-126 141.75,-126 141.75,-162"/>
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-146.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="-134.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.571</text>
</g>
<!-- nt_S&#45;&gt;pr_2 -->
<g id="edge5" class="edge">
<title>nt_S&#45;&gt;pr_2</title>
<path fill="none" stroke="black" d="M34.11,-130.31C40.82,-139.95 50.34,-150.68 62,-156 65.44,-157.57 69.12,-158.31 72.85,-158.43"/>
<polygon fill="black" stroke="black" points="72.99,-161.94 82.56,-157.39 72.25,-154.98 72.99,-161.94"/>
</g>
<!-- pr_3 -->
<g id="node9" class="node">
<title>pr_3</title>
<polygon fill="none" stroke="red" stroke-width="2.5" points="140.5,-103 86.5,-103 86.5,-67 140.5,-67 140.5,-103"/>
<text xml:space="preserve" text-anchor="middle" x="113.5" y="-87.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="-75.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.143</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="M44.21,-104.84C53.25,-102.21 64.07,-99.07 74.41,-96.07"/>
<polygon fill="black" stroke="black" points="75.25,-99.47 83.88,-93.32 73.3,-92.74 75.25,-99.47"/>
</g>
<!-- pr_5 -->
<g id="node11" class="node">
<title>pr_5</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.143</text>
</g>
<!-- nt_S&#45;&gt;pr_5 -->
<g id="edge15" class="edge">
<title>nt_S&#45;&gt;pr_5</title>
<path fill="none" stroke="black" d="M36.43,-93.1C43.67,-83.82 52.95,-72.47 62,-63 67.86,-56.87 74.43,-50.62 80.84,-44.8"/>
<polygon fill="black" stroke="black" points="83.12,-47.46 88.28,-38.2 78.48,-42.22 83.12,-47.46"/>
</g>
<!-- nt_T__ -->
<g id="node2" class="node">
<title>nt_T__</title>
<ellipse fill="none" stroke="black" cx="210" cy="-119" rx="27" ry="18"/>
<text xml:space="preserve" text-anchor="middle" x="210" y="-115.5" font-family="Helvetica,sans-Serif" font-size="10.00">T_+</text>
</g>
<!-- pr_1 -->
<g id="node7" class="node">
<title>pr_1</title>
<polygon fill="none" stroke="black" points="328,-191 274,-191 274,-155 328,-155 328,-191"/>
<text xml:space="preserve" text-anchor="middle" x="301" y="-175.5" font-family="Helvetica,sans-Serif" font-size="10.00">)</text>
<text xml:space="preserve" text-anchor="middle" x="301" y="-163.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
</g>
<!-- nt_T__&#45;&gt;pr_1 -->
<g id="edge3" class="edge">
<title>nt_T__&#45;&gt;pr_1</title>
<path fill="none" stroke="black" d="M230.75,-130.98C240.5,-136.9 252.56,-144.22 263.88,-151.08"/>
<polygon fill="black" stroke="black" points="261.89,-153.97 272.26,-156.17 265.52,-147.99 261.89,-153.97"/>
</g>
<!-- pr_4 -->
<g id="node10" class="node">
<title>pr_4</title>
<polygon fill="none" stroke="black" points="328,-137 274,-137 274,-101 328,-101 328,-137"/>
<text xml:space="preserve" text-anchor="middle" x="301" y="-121.5" font-family="Helvetica,sans-Serif" font-size="10.00">(</text>
<text xml:space="preserve" text-anchor="middle" x="301" y="-109.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="M237.22,-119C245.12,-119 253.94,-119 262.43,-119"/>
<polygon fill="black" stroke="black" points="262.14,-122.5 272.14,-119 262.14,-115.5 262.14,-122.5"/>
</g>
<!-- pr_6 -->
<g id="node12" class="node">
<title>pr_6</title>
<polygon fill="none" stroke="black" points="328,-83 274,-83 274,-47 328,-47 328,-83"/>
<text xml:space="preserve" text-anchor="middle" x="301" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">+</text>
<text xml:space="preserve" text-anchor="middle" x="301" y="-55.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
</g>
<!-- nt_T__&#45;&gt;pr_6 -->
<g id="edge17" class="edge">
<title>nt_T__&#45;&gt;pr_6</title>
<path fill="none" stroke="black" d="M230.75,-107.02C240.5,-101.1 252.56,-93.78 263.88,-86.92"/>
<polygon fill="black" stroke="black" points="265.52,-90.01 272.26,-81.83 261.89,-84.03 265.52,-90.01"/>
</g>
<!-- tm__ -->
<g id="node3" class="node">
<title>tm__</title>
<text xml:space="preserve" text-anchor="middle" x="396.25" y="-115.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">+</text>
</g>
<!-- tm_a -->
<g id="node4" 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="node5" class="node">
<title>tm_b</title>
<text xml:space="preserve" text-anchor="middle" x="210" y="-194.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">b</text>
</g>
<!-- pr_0&#45;&gt;tm_b -->
<g id="edge2" class="edge">
<title>pr_0&#45;&gt;tm_b</title>
<path fill="none" stroke="black" d="M141.58,-198C150.99,-198 161.71,-198 171.79,-198"/>
<polygon fill="black" stroke="black" points="171.7,-201.5 181.7,-198 171.7,-194.5 171.7,-201.5"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-199.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_1&#45;&gt;tm__ -->
<g id="edge4" class="edge">
<title>pr_1&#45;&gt;tm__</title>
<path fill="none" stroke="black" d="M328.47,-157.67C338.08,-152.1 349.11,-145.72 359.4,-139.76"/>
<polygon fill="black" stroke="black" points="361.15,-142.79 368.05,-134.75 357.64,-136.74 361.15,-142.79"/>
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-147.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_2&#45;&gt;nt_S -->
<g id="edge7" class="edge">
<title>pr_2&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M84.06,-133.51C74.66,-130.05 64.14,-126.17 54.52,-122.62"/>
<polygon fill="black" stroke="black" points="55.77,-119.35 45.18,-119.18 53.35,-125.92 55.77,-119.35"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-128.46" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
</g>
<!-- pr_2&#45;&gt;nt_T__ -->
<g id="edge6" class="edge">
<title>pr_2&#45;&gt;nt_T__</title>
<path fill="none" stroke="black" d="M142.83,-136.78C150.06,-134.92 157.82,-132.9 165,-131 167.91,-130.23 170.93,-129.42 173.96,-128.6"/>
<polygon fill="black" stroke="black" points="174.61,-132.05 183.35,-126.06 172.78,-125.3 174.61,-132.05"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-134.03" 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="M142.76,-125.21C148.2,-122.44 153.99,-120.01 159.75,-118.5 163.55,-117.5 167.56,-116.88 171.6,-116.53"/>
<polygon fill="black" stroke="black" points="171.47,-120.04 181.35,-116.22 171.25,-113.04 171.47,-120.04"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-120.45" font-family="Helvetica,sans-Serif" font-size="9.00">3</text>
</g>
<!-- pr_3&#45;&gt;nt_S -->
<g id="edge10" class="edge">
<title>pr_3&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M85.33,-81.71C77.65,-81.58 69.37,-82.23 62,-84.5 57.64,-85.84 53.32,-87.86 49.24,-90.19"/>
<polygon fill="black" stroke="black" points="47.42,-87.2 40.96,-95.61 51.25,-93.06 47.42,-87.2"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-86.45" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_3&#45;&gt;nt_S -->
<g id="edge12" class="edge">
<title>pr_3&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M85.4,-68.79C77.72,-66.16 69.43,-65.23 62,-68.5 54.61,-71.75 48,-77.17 42.43,-83.07"/>
<polygon fill="black" stroke="black" points="39.76,-80.8 35.99,-90.7 45.11,-85.31 39.76,-80.8"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-70.45" font-family="Helvetica,sans-Serif" font-size="9.00">3</text>
</g>
<!-- pr_3&#45;&gt;nt_T__ -->
<g id="edge11" class="edge">
<title>pr_3&#45;&gt;nt_T__</title>
<path fill="none" stroke="black" d="M141.54,-94.23C149.14,-96.86 157.41,-99.76 165,-102.5 168.45,-103.75 172.05,-105.06 175.64,-106.39"/>
<polygon fill="black" stroke="black" points="174.19,-109.59 184.79,-109.8 176.64,-103.03 174.19,-109.59"/>
<text xml:space="preserve" text-anchor="middle" x="162.38" y="-104.45" font-family="Helvetica,sans-Serif" font-size="9.00">2</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,-119C337.68,-119 348.19,-119 358.11,-119"/>
<polygon fill="black" stroke="black" points="357.84,-122.5 367.84,-119 357.84,-115.5 357.84,-122.5"/>
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-120.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_5&#45;&gt;tm_a -->
<g id="edge16" class="edge">
<title>pr_5&#45;&gt;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_6&#45;&gt;tm__ -->
<g id="edge18" class="edge">
<title>pr_6&#45;&gt;tm__</title>
<path fill="none" stroke="black" d="M328.47,-80.33C338.08,-85.9 349.11,-92.28 359.4,-98.24"/>
<polygon fill="black" stroke="black" points="357.64,-101.26 368.05,-103.25 361.15,-95.21 357.64,-101.26"/>
<text xml:space="preserve" text-anchor="middle" x="348.62" y="-93.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB