<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Emily,<div><br></div><div>I believe the problem is the empty characterization <>'s after the EP names in the MRS output from the source grammar. Have you tried adding the following to lkb/mrsglobals.lsp on the source side?</div><div><br></div><div>(setf *show-lnk-p* nil)</div><div><br></div><div>This worked for me, on KNOPPIX+LKB.</div><div>-Woodley</div><div><br><div><div>On May 21, 2013, at 9:46 PM, Emily M. Bender wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear all,<br><br>We've gotten to the MT portion of Ling 567 at UW, and discovered<br>that the MT set up on the KNOPPIX+LKB system isn't working. Specifically:<br><br>I have the students start with and eng<>ita pair that I know works.<br>
(And Ned at least has it working on LOGON trunk currently.) They<br>set up two emacsen, load the source and target grammars, and start<br>the generator server on the target side. The values for *translate-grid*<br>are set appropriately. <br>
<br>When we parse a sentence in the source grammar and select "rephrase",<br>the target side emacs reports "read 0 MRSs are generator input". I've<br>seen this work with exactly this pair of grammars in past years (and<br>
Ned is seeing it work this year), so I suspect the problem has something<br>to with the file encoding of the .translate.<user>.<iso> file. I've<br>captured one of those by turning off the generator server, and it is attached.<br>
(I had to rename it to be able to upload it into gmail for some reason;<br>the actual file name was as expected.)<br><br>Another symptom is that Generate | Display input MRS does nothing,<br>which suggests that the MRS isn't properly imported --- the grammar doesn't<br>
get a chance to try generating from it. For completeness, I put the same<br>grammar (eng) on both sides (and updated *translate-grid* appropriately).<br>Same behavior.<br><br>Here is a little bit more info:<br><br>LKB(5): (trace mrs::read-mrss-from-file)<br>
(MRS::READ-MRSS-FROM-FILE)<br>LKB(6): <br> 0[5]: (MRS::READ-MRSS-FROM-FILE #P"/home/ubuntu/tmp/.transfer.ubuntu.ita")<br> 0[5]: returned NIL #<SIMPLE-ERROR @ #x4bea3d6a><br><br>[21:32:27] translate(): read 0 MRSs as generator input.<br>
LKB(6): (trace mrs::read-mrs-stream)<br>(MRS::READ-MRS-STREAM)<br>LKB(7): <br> 0[5]: (MRS::READ-MRSS-FROM-FILE #P"/home/ubuntu/tmp/.transfer.ubuntu.ita")<br> 1[5]: (MRS::READ-MRS-STREAM #<EXCL:FILE-SIMPLE-STREAM<br>
#P"/home/ubuntu/tmp/.transfer.ubuntu.ita" for input pos 0<br> @ #x4beb10a2>)<br> 1[5]: returned-by-throwing to tag IGNORE-ERRORS-1: NIL<br> #<SIMPLE-ERROR @ #x4beb3d12><br>
0[5]: returned NIL #<SIMPLE-ERROR @ #x4beb3d12><br><br>[21:33:41] translate(): read 0 MRSs as generator input.<br>LKB(7): <br><br>Any ideas on what might be going on here, and what kind of work-around I <br>can offer the students?<br>
<br>Many thanks,<br>Emily<br clear="all"><br>-- <br>Emily M. Bender<br>Associate Professor<br>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>
<span><dot.transfer.ubuntu.ita></span></blockquote></div><br></div></body></html>