<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I don't know exactly how your setup works, but it's worth pointing out that (to my knowledge) +copy+ and the accompanying overrides can only appear in an instance definition, not a type definition. &nbsp;Could that explain the behavior you're seeing? &nbsp;It looks like you might be writing a type rather than a rule.</div><div><br></div><div>-Woodley</div><br><div><div>On Mar 4, 2015, at 4:48 PM, "Emily M. Bender" &lt;<a href="mailto:ebender@uw.edu">ebender@uw.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div>When I tried this with +copy+, I end up with a grammar that doesn't load:<br><br>intrans-irrealis-neg-mtr := monotonic_mtr &amp;<br>[ INPUT.RELS &lt;! [ ARG0.E.MOOD mood &amp; #m,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; LBL #larg ] !&gt;,<br>&nbsp; CONTEXT [ RELS &lt;! [ PRED "neg_rel",<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARG1 #harg ] !&gt;,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HCONS &lt;! [ HARG #harg,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LARG #larg ] !&gt; ],<br>&nbsp; OUTPUT [ RELS &lt;! +copy+ &amp; [ ARG0.E.MOOD irrealis ] !&gt;,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; HCONS &lt;!&nbsp; !&gt; ],<br>&nbsp; FLAGS.EQUAL &lt; #m &gt; ].<br><br>Unifications specified are invalid or do not unify<br>Type INTRANS-IRREALIS-NEG-MTR has an invalid constraint specification<br>Error: Problems in type file<br><br><br></div>... I suspect that this is because I'm working with the set up where the transfer grammar<br></div>is actually integrated into the source side monolingual grammar and we use the "Rephrase"<br>option in the LKB.&nbsp; (Because that's how I still have the students do it for their Lab 9 ...<br>&nbsp;I then pull out the transfer rules into separate transfer grammars for the MMT demo.)<br><br></div><div>This isn't a show-stopper though, so I think I'm going to leave it for now.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 4:43 PM, Woodley Packard <span dir="ltr">&lt;<a href="mailto:sweaglesw@sweaglesw.org" target="_blank">sweaglesw@sweaglesw.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">What +copy+ does is part of the undocumented magic of the transfer formalism... &nbsp;as near as I have been able to reverse engineer, it means to copy everything from the corresponding input EP, and then overwrite parts of it with what is explicitly stated in the OUTPUT section.&nbsp; In the ACE implementation, it has (if I recall correctly) exactly the same effect as making the output EP reentrant to an input EP (except in that case you can mix and match EP orderings).<span class="HOEnZb"><font color="#888888"><br></font></span><div><span class="HOEnZb"><font color="#888888">-Woodley</font></span><div><div class="h5"><br><div><br><div><div>On Mar 4, 2015, at 1:35 PM, "Emily M. Bender" &lt;<a href="mailto:ebender@uw.edu" target="_blank">ebender@uw.edu</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr">Thanks, Stephan!&nbsp; I'd actually gotten as far as using the FLAGS.EQUAL<br>mechanism but ran into problems because I was trying to identify<div>variables across input and output.&nbsp; I guess whatever +copy+ does</div><div>is what I was missing...</div><div><br></div><div>I'll give it a try,</div><div>Emily</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 1:27 PM, Stephan Oepen <span dir="ltr">&lt;<a href="mailto:oe@ifi.uio.no" target="_blank">oe@ifi.uio.no</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i had to look up some examples from the original LOGON Transfer Matrix<br>
(in SVN) myself, but it would seem that the FLAGS.EQUAL mechanism is<br>
supported for variable properties.&nbsp; thus, something in the following<br>
spirit should work (and not cycle):<br>
<br>
&nbsp; INPUT &lt; [ ARG0 [ MOOD mood &amp; #mood ] ] &gt;,<br>
&nbsp; OUTPUT &lt; +copy+ &amp; [ ARG0 [ MOOD realis ] ] &gt;,<br>
&nbsp; FLAGS.EQUALS &lt; #mood &gt;<br>
<br>
if, for some reason, the above refuses to cooperate, i dimly recall<br>
introducing ‘decorator’ EPs (e.g. ‘plural_noun_mark’ in the Transfer<br>
Matrix) to prevent cyclic rule applications: once the variable<br>
property is refined, one can put a mark on that variable, and<br>
somewhere towards the end of transfer all marks can be dropped ...<br>
<br>
good luck putting it all together!&nbsp; oe<br>
<div><br>
<br>
On Wed, Mar 4, 2015 at 9:43 PM, Emily M. Bender &lt;<a href="mailto:ebender@uw.edu" target="_blank">ebender@uw.edu</a>&gt; wrote:<br>
&gt; Dear all,<br>
&gt;<br>
&gt; I'm reaching the end of this year's Ling 567, and this time around we have<br>
&gt; two languages (Bardi [bcj] and Lithuanian [lit]) that contrast realis and<br>
&gt; irrealis<br>
&gt; mood, where irrealis is required in negated sentences but also possible<br>
&gt; elsewhere (with other uses).<br>
&gt;<br>
&gt; We typically use VPM to set defaults for various variable properties to keep<br>
&gt; the range of generator outputs down in our MT set up, but can't in this<br>
&gt; case set MOOD to realis by default, since then we don't get any output<br>
&gt; for negated sentences.<br>
&gt;<br>
&gt; It seemed tempting to try to create a family of transfer rules that<br>
&gt; specialize<br>
&gt; MOOD on the ARG0 of negated _v_rels (i.e. whose LBL is the LARG of a qeq<br>
&gt; whose HARG is the ARG1 of neg_rel) to [ MOOD irrealis ] and that of<br>
&gt; _v_rels that aren't negated to [ MOOD realis ].&nbsp; The trouble is, I can't<br>
&gt; figure<br>
&gt; out a way to write this rule that doesn't feed itself.<br>
&gt;<br>
&gt; Is there something I'm missing, or (perhaps more likely) is this just not an<br>
&gt; intended use case for the transfer rules/otherwise a bad idea in some way?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Emily<br>
&gt;<br>
&gt; --<br>
&gt; Emily M. Bender<br>
&gt; Professor, Department of Linguistics<br>
&gt; Check out CLMS on facebook! <a href="http://www.facebook.com/uwclma" target="_blank">http://www.facebook.com/uwclma</a><br>
&gt;<br>
</div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Emily M. Bender<br>Professor,&nbsp;Department of Linguistics<br>Check out CLMS on facebook! <a href="http://www.facebook.com/uwclma" target="_blank">http://www.facebook.com/uwclma</a><br></div></div>
</div>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Emily M. Bender<br>Professor,&nbsp;Department of Linguistics<br>Check out CLMS on facebook! <a href="http://www.facebook.com/uwclma" target="_blank">http://www.facebook.com/uwclma</a><br></div></div>
</div>
</blockquote></div><br></body></html>