<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Nichtterminalsymbol</id>
	<title>Nichtterminalsymbol - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Nichtterminalsymbol"/>
	<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Nichtterminalsymbol&amp;action=history"/>
	<updated>2026-06-25T02:10:57Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikipedia (Deutsch) – Lokale Kopie</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki-de.moshellshocker.dns64.de/index.php?title=Nichtterminalsymbol&amp;diff=269832&amp;oldid=prev</id>
		<title>imported&gt;Chris60308: Änderungen von 195.14.193.191 (Diskussion) auf die letzte Version von Tea2min zurückgesetzt</title>
		<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Nichtterminalsymbol&amp;diff=269832&amp;oldid=prev"/>
		<updated>2021-06-16T06:26:17Z</updated>

		<summary type="html">&lt;p&gt;Änderungen von &lt;a href=&quot;/index.php/Spezial:Beitr%C3%A4ge/195.14.193.191&quot; title=&quot;Spezial:Beiträge/195.14.193.191&quot;&gt;195.14.193.191&lt;/a&gt; (&lt;a href=&quot;/index.php?title=Benutzer_Diskussion:195.14.193.191&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Benutzer Diskussion:195.14.193.191 (Seite nicht vorhanden)&quot;&gt;Diskussion&lt;/a&gt;) auf die letzte Version von &lt;a href=&quot;/index.php?title=Benutzer:Tea2min&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Benutzer:Tea2min (Seite nicht vorhanden)&quot;&gt;Tea2min&lt;/a&gt; zurückgesetzt&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ein &amp;#039;&amp;#039;&amp;#039;Nichtterminalsymbol&amp;#039;&amp;#039;&amp;#039; (auch &amp;#039;&amp;#039;&amp;#039;Nichtterminal&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Nonterminalsymbol&amp;#039;&amp;#039;&amp;#039; oder &amp;#039;&amp;#039;&amp;#039;Variable&amp;#039;&amp;#039;&amp;#039; genannt) einer [[formale Grammatik|formalen Grammatik]] ist ein [[Symbol]], das nicht in den endgültigen [[Wort (Theoretische Informatik)|Wörtern]] vorkommt, die in der Grammatik erzeugt werden können. Nichtterminalsymbole kommen nur in Zwischenschritten einer [[Ableitung (Informatik)|Ableitung]] vor und werden durch das Anwenden von Regeln in der Grammatik nach und nach ersetzt, bis nur noch [[Terminalsymbol]]e vorhanden sind.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
Für eine formale Grammatik &amp;lt;math&amp;gt;G = (N, T, P, S)&amp;lt;/math&amp;gt; bezeichnet &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; die Menge der Nichtterminalsymbole. Ihr steht die Menge der Terminalsymbole &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; entgegen. Die Menge &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; der Produktionsregeln beschreibt, wie Nichtterminalsymbole durch neue Zeichenfolgen ersetzt werden dürfen. Das Startsymbol &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;, von dem aus alle Wörter abgeleitet werden, ist eines der Nichtterminalsymbole: &amp;lt;math&amp;gt;S \in N&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Nichtterminale werden oft als Großbuchstaben geschrieben oder, etwa bei der [[Backus-Naur-Form]], in spitze Klammern eingeschlossen.&lt;br /&gt;
&lt;br /&gt;
== Beispiele ==&lt;br /&gt;
Die Grammatik&lt;br /&gt;
:&amp;lt;math&amp;gt;G = \left(N, T, P, S\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&amp;lt;math&amp;gt;N = \{S\}&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;T = \{a, b, c\}&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;P :  S\rightarrow aSa, S\rightarrow bSb, S\rightarrow cSc, S\rightarrow a, S\rightarrow b, S\rightarrow c, S\rightarrow \varepsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
erzeugt die Sprache aller &amp;#039;&amp;#039;a,b,c&amp;#039;&amp;#039;-[[Palindrom]]e, zum Beispiel &amp;lt;math&amp;gt;abba&amp;lt;/math&amp;gt; oder &amp;lt;math&amp;gt;abcacba&amp;lt;/math&amp;gt;. Sie benötigt nur ein Nichtterminalsymbol, nämlich &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Das Palindrom &amp;lt;math&amp;gt;abba&amp;lt;/math&amp;gt; lässt sich in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; ableiten, indem das Nichtterminalsymbol &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; zunächst zu &amp;lt;math&amp;gt;aSa&amp;lt;/math&amp;gt; ersetzt wird, das darin vorhandene &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; durch &amp;lt;math&amp;gt;bSb&amp;lt;/math&amp;gt;, mit dem Ergebnis &amp;lt;math&amp;gt;abSba&amp;lt;/math&amp;gt;. Dieses &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; wird dadurch entfernt, dass es durch das [[Leeres Wort|leere Wort]] &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; ersetzt wird, sodass man &amp;lt;math&amp;gt;abba&amp;lt;/math&amp;gt; erhält.&lt;br /&gt;
&lt;br /&gt;
Ein Ableitungsbaum für das Palindrom &amp;lt;math&amp;gt;abcacba&amp;lt;/math&amp;gt; enthält die Terminalsymbole &amp;lt;math&amp;gt;a,b,c&amp;lt;/math&amp;gt; in den Blättern und &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; als Wurzel und innere Knoten.&lt;br /&gt;
&lt;br /&gt;
Syntaxbäume in der [[Sprachwissenschaft|Linguistik]], die die grammatikalische Struktur eines Satzes darstellen, enthalten als Terminalsymbole die Wörter des Satzes und als Nichtterminale die grammatikalischen [[Konstituente]]n. Ein Satz besteht häufig aus einer [[Nominalphrase]] und einer [[Verbalphrase]]. Verbalphrasen können wiederum beispielsweise aus einem Verb und einer weiteren Nominalphrase bestehen. Nominalphrasen können zum Beispiel Nomen mit oder ohne vorangestelltem Artikel sein. &amp;#039;&amp;#039;Satz&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Nominalphrase&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Verbalphrase&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Verb&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Nomen&amp;#039;&amp;#039; und &amp;#039;&amp;#039;Artikel&amp;#039;&amp;#039; sind hier die Nichtterminalsymbole.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
 Datei:Palindrome abcacba.svg|Ableitungsbaum von &amp;#039;&amp;#039;abcacba&amp;#039;&amp;#039; mit Nichtterminalsymbol &amp;#039;&amp;#039;S&amp;#039;&amp;#039;&lt;br /&gt;
 Datei:ParseTree.svg|Syntaxbaum zu {{lang|en|John hit the ball}}&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Literatur ==&lt;br /&gt;
* {{Literatur|Autor=[[John E. Hopcroft]], [[Jeffrey Ullman|Jeffry D. Ullman]]|Titel=Einführung in die Automatentheorie, formale Sprachen und Komplexitätstheorie|Verlag=Addison-Wesley|Ort=Bonn|Jahr=1994|ISBN=3-89319-744-3}}&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Theorie formaler Sprachen]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Chris60308</name></author>
	</entry>
</feed>