<div dir="ltr">Thank you, Sanghoun! The dos2unix trick fixed it.<div><br></div><div>Emily</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 7:19 PM, Sanghoun Song <span dir="ltr"><<a href="mailto:sanghoun@uw.edu" target="_blank">sanghoun@uw.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Emily,<br><br>On my machine, I could get the generation results as follows. <br><br>$ echo "mʔ-piri-ɣʔe-n" | ace -g ckt.dat | ace -g ckt.dat -e<br>NOTE: 1 readings, added 41 / 34 edges to chart (34 fully instantiated, 2 actives used, 2 passives used) RAM: 539k<br>NOTE: parsed 1 / 1 sentences, avg 539k, time 0.02247s<br>Mʔ-piri-n<br>Mʔ-piri-ɣʔe-n<br>Mʔ-piri-ɣʔi-n<br>NOTE: 322 passive, 119 active edges in final generation chart; built 579 passives total. [3 results]<br>NOTE: generated 1 / 1 sentences, avg 2311k, time 0.35266s<span class=""><br>NOTE: transfer did 0 successful unifies and 0 failed ones<br><br></span>One reason might be the difference in ACE version. Your ckt.dat was compiled by 0.9.17, and my ACE engine is ver. 0.9.19. <br><br>Another reason that I can think of is the carriage return in semi.vpm. When I compile the data file on my machine, I couldn't at the beginning. It was because semi.vpm had the Windows carriage return. I did the following command, and then could use the grammar.<br> <br>$ dos2unix semi.vpm<br><br>Sanghoun<br><br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 8:56 AM, Emily M. Bender <span dir="ltr"><<a href="mailto:ebender@uw.edu" target="_blank">ebender@uw.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br></div><div><br></div>I'm encouraging the current crop of 567 students to try<br>out ace for generation, and we've turned up a case where<br>the LKB is happy to generate and ace complains that<br>the input MRS is ill-formed. The grammar (for Chukchi)<br>can be found here:<br><br></div><a href="http://courses.washington.edu/ling567/ckt.tgz" target="_blank">http://courses.washington.edu/ling567/ckt.tgz</a><br><br></div>And at least one sentence with this behavior is the following:<br><br clear="all"><div><div><div><div><div>mʔ-piri-ɣʔe-n<br>1sgA.INT-capture-TH-3sgO<br>"I would have captured it/him/her." <br><br></div><div>Both the LKB and ace are happy to parse this, with ace giving<br>the output below, but when I try:<br><br>echo "mʔ-piri-ɣʔe-n" | ace -g ckt.dat | ace -g ckt.dat -e<br><br></div><div>I get:<br><br>WARNING: illformed input MRS<br>NOTE: 0 passive, 0 active edges in final generation chart; built 921998632 passives total. [0 results]<br>NOTE: 1 readings, added 41 / 34 edges to chart (34 fully instantiated, 2 actives used, 2 passives used) RAM: 535k<br>NOTE: parsed 1 / 1 sentences, avg 535k, time 0.01259s<br>NOTE: generated 0 / 1 sentences, avg 3k, time 0.00032s<br>NOTE: transfer did 0 successful unifies and 0 failed ones<br><br></div><div>Any suggestions on how to go about figuring out what<br></div><div>ace doesn't like about the MRS here? (I tried another grammar<br>from the same generation and can generate with ace, so I'm<br>guessing it's not a core matrix property [this time].)<br><br></div><div>Thanks,<br>Emily<br><br></div><div>ace parsing output:<br><br>ubuntu@UbuntuLKB:~/567/ckt$ echo "mʔ-piri-ɣʔe-n" | ace -g ckt.dat <br>SENT: mʔ-piri-ɣʔe-n<br>[ LTOP: h0 INDEX: event2 [ event SORT: semsort E.TENSE: nonfuture E.ASPECT: non-progressive E.MOOD: conditional SF: prop-or-ques ] RELS: < [ "_take_v_rel"<-1:-1> LBL: handle1 ARG0: event2 ARG1: ref-ind3 [ ref-ind SORT: semsort COG-ST: in-foc SPECI: bool PNG.PER: 1st PNG.NUM: singular PNG.GEND: gender ] ARG2: ref-ind4 [ ref-ind SORT: semsort COG-ST: cog-st SPECI: bool PNG.PER: 3rd PNG.NUM: singular PNG.GEND: gender ] ] > HCONS: < h0 qeq handle1 > ICONS: < event2 non-focus ref-ind4 event2 non-focus ref-ind3 > ] ; (189 decl-head-opt-subj 0.000000 0 1 (188 basic-head-opt-comp 0.000000 0 1 (187 3sg-O-suffix 0.000000 0 1 (186 thematic-suffix4a 0.000000 0 1 (185 not-prog-lex 0.000000 0 1 (184 not-tku-lex 0.000000 0 1 (183 not-ne-lex 0.000000 0 1 (182 1st-sg-conditional-prefix 0.000000 0 1 (181 not-future-lex 0.000000 0 1 (180 not-ine-lex 0.000000 0 1 (2 piri 0.000000 0 1 ("mʔ-piri-ɣʔe-n"))))))))))))<br>NOTE: 1 readings, added 41 / 34 edges to chart (34 fully instantiated, 2 actives used, 2 passives used) RAM: 535k<br><br><br>NOTE: parsed 1 / 1 sentences, avg 535k, time 0.00543s<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div><br><br></div><div>-- <br><div><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></font></span></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>====================================<br>Sanghoun Song<br>Ph.D. in Computational Linguistics | <a href="http://corpus.mireene.com" target="_blank">http://corpus.mireene.com</a><br>NTU Computational Linguistics Lab. | <a href="http://compling.hss.ntu.edu.sg" target="_blank">http://compling.hss.ntu.edu.sg</a><br>====================================</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <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>