KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/markrose/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/markrose/mghelp.html
<HTML> 
<HEAD>
<meta http-equiv="content-type" content="text-html; charset=utf-8">
<TITLE>ggg - Minimalism Gadget Help</TITLE>

<style>
	h2
		{color:#A06800;}
	h3
		{color:#C08700;}
	h4
		{color:#C08700;}
	h5
		{color:#C08700;}
	h6
		{color:#C08700;}
	tt
		{color:#A60000;
		font-weight:bold;
		font-family:"Gentium";}
	
</style>

</HEAD> 

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<table width="100%">
<tr><td bgcolor="#EEC25A">
<h2><br>&nbsp;&nbsp;<a href="kit.html"><img src="chomsky.gif" border=0 align="absmiddle" height="53" width="60"></a>&nbsp;mg help</h2></td></tr>
</td></tr>
</table>

<p><b>mg</b> is a Javascript program that lets you construct a Minimalist grammar.

<p>For a full explanation of what that means, see my upcoming <i>Syntax Construction Kit</i>, or your well-worn copy of <i>The Minimalist Program.</i> 

<p>Test it out!  Press <b>Generate</b> to generate a sentence. The step-by-step process of creating the sentence will be shown.  With each Merge step, the current tree will be shown, and we'll note when other rules applied.

<p>If you press <b>French</b>, the rules will change to those needed for French.  (To get back to English, reload the page.)

<p><i>—Mark Rosenfelder, August 2018</i>


<h2>Overview</h2>

The <b>lexicon</b> is defined in the Lexicon text area. An entry looks like this:

<blockquote><tt>
this:D N:p these
</tt></blockquote>

This defines a word <tt>this</tt> which is a Determiner (D).  It can be Merged with a Noun (N).  And its plural is <tt>these</tt>.

<p>Verbs (and adjectives, in French) have a set of inflections.  These work just as in <b>gtg</b>; see the <a href="gtghelp.htm">gtg help</a> for an explanation.

<p>Next there are <b>Order</b> rules, like this:

<blockquote><tt>
D N
</tt></blockquote>

These give the order when Merging two words.  So e.g. an Adjective (A) is always defined in the lexicon as <tt>A N</tt>, but the order can be reversed here.

<p>Finally, the Special box gives movement rules.  There are two sets of rules, separated by <tt>+</tt>.  the first set is executed while building the tree; the second once it's done.

<p>Rules  are of the form

<blockquote><tt>
percentage:condition:rule:Target
</tt></blockquote>

The percentage tells how often the rule should apply. Use 100 for required rules.

<p>It's been so long since I wrote the code that I've forgotten how it works, so this will be cryptic.  I will try to come back later to explain it!  You can also generate sentences and compare the trees before and after a rule to see what it did.

<p>Conditions tell whether the rule applies or not.  The conditions recognized:

<blockquote><table>
<tr><td><tt>!Aux</tt></td>	<td>no Aux should be present</td></tr>
<tr><td><tt>Aux</tt></td>	<td>Aux should exist</td></tr>
<tr><td><tt>Neg</tt></td>	<td>Neg should exist</td></tr>
<tr><td><tt>Tø</tt></td>	<td>T should be blank</td></tr>
<tr><td><tt>ObjPron</tt></td>	<td>There should be a pronominal D after the V</td></tr>
<tr><td><tt>Q</tt></td>		<td>the C node should be Q</td></tr>
<tr><td><tt>NegQ</tt></td>	<td>There should be a Neg and the C node should be Q</td></tr>
</table></blockquote>

The rule should be one of:

<blockquote><table>
<tr><td><tt>Aux</tt></td>	<td>apply an auxiliary</td></tr>
<tr><td><tt>Q</tt></td>		<td>Add a Q node</td></tr>
<tr><td><tt>^</tt></td>		<td>Move an element up to the target</td></tr>
<tr><td><tt>OV</tt></td>	<td>Move the V above the object</td></tr>
<tr><td><tt>AuxMove</tt></td>	<td>Move the contents of V into the T node</td></tr>
<tr><td><tt>X+Y</tt></td>	<td>Move an X into a Y</td></tr>
<tr><td><tt>X«Y</tt></td>	<td>Move an X into a Y</td></tr>
</table></blockquote>

<hr>

<center><A HREF="default.html"><img src="homeg.gif" border=0 alt="Home"></A></center>

</body>
</html>

Anon7 - 2021