Jump to content

User:MastCell/RSG-Grammar

From Wikipedia, the free encyclopedia
<?xml version="1.0" encoding="UTF-8"?>
<Grammar>
	<Nonterminal nonterm="start">
		<Production>The {adjective} {noun} {verb} the {object}.</Production>
		<Production>The {object} was {verb} by the {adjective} {noun}.</Production>
		<Production>The {noun}, which was {adjective}, {verb} the {object}.</Production>
	</Nonterminal>
	<Nonterminal nonterm="adjective">
		<Production>quick</Production>
		<Production>brown</Production>
		<Production>lazy</Production>
		<Production>indescribable</Production>
		<Production>{adjective} and {adjective}</Production>
	</Nonterminal>
	<Nonterminal nonterm="noun">
		<Production>car</Production>
		<Production>fox</Production>
		<Production>bird</Production>
	</Nonterminal>
	<Nonterminal nonterm="verb">
		<Production>jumped</Production>
		<Production>mocked</Production>
		<Production>celebrated</Production>
		<Production>{adverb} {verb}</Production>
	</Nonterminal>
	<Nonterminal nonterm="adverb">
		<Production>slowly</Production>
		<Production>quickly</Production>
		<Production>tangibly</Production>
	</Nonterminal>
	<Nonterminal nonterm="object">
		<Production>other {noun}</Production>
		<Production>ship</Production>
		<Production>airplane</Production>
	</Nonterminal>
</Grammar>