<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>Hi,</div><div><br></div>It sounds to me like Nurit is having trouble generating with his own (English) grammar, not with the ERG.<div><br></div><div>It's surprising to see an out-of-memory condition for such a short sentence. I recommend passing -vv to the generator. You will see a complete printout of all of the edges (partial analyses) that are generated. You may discover something surprising. It will probably produce a lot of output, so piping it to a file will be helpful. The difference vs. the LKB is surprising, so I would be interested in reproducing the problem locally if you are willing to share the grammar files.</div><div><br></div><div>Unfortunately, not all of the LUI menu callbacks are implemented in ACE's LUI driving mode, so the errors about browsing edge 6's "generate" are expected. The pipeline approach you took was the right one.</div><div><br></div><div>Best of luck,</div><div>Woodley Packard</div><div><br><div><div>On Feb 5, 2015, at 8:53 AM, "Emily M. Bender" <<a href="mailto:ebender@uw.edu">ebender@uw.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>Hi Nurit,<br><br></div>We're using Ubuntu+LKB in 567 this quarter, but not making use of the ERG, so I don't have a lot of info for you. In case it helps, though:<br><br></div>(NB: This is with the test version of Ubuntu+LKB, from just before the latest release.)<br><br>Emily<br><br><div><br>ubuntu@UbuntuLKB:~/erg$ echo "Dan ate" | ace -g erg-1212-x86-64-0.9.17.dat <br>NOTE: 0 readings, added 311 / 26 edges to chart (16 fully instantiated, 15 actives used, 7 passives used) RAM: 638k<br>SKIP: Dan ate<br><br>NOTE: parsed 0 / 1 sentences, avg 1103k, time 0.00671s<br><br>ubuntu@UbuntuLKB:~/erg$ echo "The dog barks." | ace -g erg-1212-x86-64-0.9.17.dat -T 2>/dev/null<br>SENT: The dog barks.<br>[ LTOP: h0 INDEX: e2 [ e SF: prop TENSE: pres MOOD: indicative PROG: - PERF: - ] RELS: < [ _the_q_rel<0:3> LBL: h4 ARG0: x3 [ x PERS: 3 NUM: sg IND: + ] RSTR: h5 BODY: h6 ] [ "_dog_n_1_rel"<4:7> LBL: h7 ARG0: x3 ] [ "_bark_v_1_rel"<8:14> LBL: h1 ARG0: e2 ARG1: x3 ] > HCONS: < h0 qeq h1 h5 qeq h7 > ]<br>[ LTOP: h0 INDEX: e2 [ e SF: prop ] RELS: < [ unknown_rel<0:14> LBL: h1 ARG0: e2 ARG: x4 [ x PERS: 3 NUM: pl ] ] [ _the_q_rel<0:3> LBL: h5 ARG0: x4 RSTR: h6 BODY: h7 ] [ compound_rel<4:14> LBL: h8 ARG0: e9 [ e SF: prop TENSE: untensed MOOD: indicative PROG: - PERF: - ] ARG1: x4 ARG2: x10 [ x IND: + ] ] [ udef_q_rel<4:7> LBL: h11 ARG0: x10 RSTR: h12 BODY: h13 ] [ "_dog_n_1_rel"<4:7> LBL: h14 ARG0: x10 ] [ "_bark_n_1_rel"<8:14> LBL: h8 ARG0: x4 ] > HCONS: < h0 qeq h1 h6 qeq h8 h12 qeq h14 > ]<br><br><br>ubuntu@UbuntuLKB:~/erg$ echo "The dog barks." | ace -g erg-1212-x86-64-0.9.17.dat -T 2>/dev/null | ace -g erg-1212-x86-64-0.9.17.dat -e<br>The dog barks.<br>NOTE: 62 passive, 143 active edges in final generation chart; built 65 passives total. [1 results]<br>The dog barks.<br>NOTE: 53 passive, 241 active edges in final generation chart; built 57 passives total. [1 results]<br>NOTE: generated 2 / 2 sentences, avg 1569k, time 0.08293s<br>NOTE: transfer did 409 successful unifies and 393 failed ones<br>ubuntu@UbuntuLKB:~/erg$ echo "The dog eats." | ace -g erg-1212-x86-64-0.9.17.dat -T 2>/dev/null | ace -g erg-1212-x86-64-0.9.17.dat -e<br>The dog eats.<br>NOTE: 90 passive, 157 active edges in final generation chart; built 93 passives total. [1 results]<br>The dog eats.<br>NOTE: 49 passive, 227 active edges in final generation chart; built 53 passives total. [1 results]<br>NOTE: generated 2 / 2 sentences, avg 1674k, time 0.02566s<br>NOTE: transfer did 409 successful unifies and 393 failed ones<br><br>ubuntu@UbuntuLKB:~/erg$ echo "The dog eats cake." | ace -g erg-1212-x86-64-0.9.17.dat -T 2>/dev/null | ace -g erg-1212-x86-64-0.9.17.dat -e<br>The dog eats cake.<br>NOTE: 116 passive, 190 active edges in final generation chart; built 127 passives total. [1 results]<br>The dog eats cake.<br>NOTE: 156 passive, 253 active edges in final generation chart; built 163 passives total. [1 results]<br>The dog, which, eats cake.<br>The dog, that, eats cake.<br>The dog, who, eats cake.<br>The dog, which eats cake.<br>The dog, who eats cake.<br>The dog, that eats cake.<br>The dog which, eats cake.<br>The dog that, eats cake.<br>The dog who, eats cake.<br>The dog which eats cake.<br>The dog that eats cake.<br>The dog who eats cake.<br>The dog eats cake.<br>NOTE: 84 passive, 227 active edges in final generation chart; built 111 passives total. [13 results]<br>NOTE: generated 3 / 3 sentences, avg 2255k, time 0.13414s<br>NOTE: transfer did 996 successful unifies and 837 failed ones<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 5:21 AM, Nurit Melnik <span dir="ltr"><<a href="mailto:nuritme@openu.ac.il" target="_blank">nuritme@openu.ac.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello,</span><span dir="RTL" lang="HE"><u></u><u></u></span></p><p class="MsoNormal"><span dir="LTR"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span dir="LTR"></span> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I've recently started working with ACE on the Ubuntu+LKB platform (version 21, 64-bit).</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">With the LKB I managed to generate all input with my grammar, by using the right-click option on the parse tree.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">With ACE I can generate with ERG, but I have problems with my grammar.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Intransitives work fine:</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">echo "Dan ate" | ace -g grammar.dat -T 2>/dev/null | ace -g grammar.dat -e
</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But with “Dan ate cake” I get the following error:
</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">"NOTE: terminating search, too much RAM"</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I tried generating by using the right-click option on the parse tree (in LUI mode).</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I got the following message with ERG and with my grammar, regardless of valence:</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">"LUI: don't know how to brows edge 6's 'generate' " (where “6” depends on the sentence.)</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This also happens with other right-click options, except for AVMs and simple MRS.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">What am I missing here?</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks in advance,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Nurit</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><u></u><u></u></p>
</div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Emily M. Bender<br>Professor, 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></body></html>