<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div>But why the grammar worked in LKB FOS? Just curious to understand the possible difference between the tools.<br><br>Alexandre&nbsp;<br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On 6 May 2020, at 04:12, Luis Morgado da Costa &lt;luis.passos.morgado@gmail.com&gt; wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Thanks Woodley,&nbsp;<div><br></div><div>That helped a lot. Everything is working as expected now. I had forgotten to also inherit from:</div><div><br></div><div><div id="gmail-:tx.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word"><span id="gmail-:tx.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr">constant-lex-rule := lex-rule &amp;<br>&nbsp;[ STEM #stem,<br>&nbsp; &nbsp;DTR [ STEM #stem ]].</span></div><div id="gmail-:tx.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word"><br></div><div id="gmail-:tx.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word">Cheers,<br></div><div id="gmail-:tx.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word"><span class="gmail-tL8wMe gmail-EMoHub" dir="ltr">Luis</span></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 6, 2020 at 2:25 PM Woodley Packard &lt;<a href="mailto:sweaglesw@sweaglesw.org">sweaglesw@sweaglesw.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Luis,<div><br></div><div>I wasn't quite sure which ace/config.tdl to use in the Zhong tree, as there are several, but I guessed that maybe cmn/zhs/ace/config.tdl was a good place to start, and was able to reproduce the errors you found.&nbsp; A little bit of hunting showed that this is a result of STEM containing unconstrained strings, and it looks like the culprit is the v_aux_ell-lr rule.&nbsp; That rule fails to constrain the mother's STEM.FIRST value, and as a result, subsequent orthographemic rules (in this case, the abua-olr rule) can't tell what string they should be operating on.&nbsp; Possibly v_aux_ell-lr should pass up the daughter's STEM value?</div><div><br></div><div>I hope that helps,</div><div>Woodley</div><div><br><blockquote type="cite"><div>On May 5, 2020, at 9:09 PM, Luis Morgado da Costa &lt;<a href="mailto:luis.passos.morgado@gmail.com" target="_blank">luis.passos.morgado@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr"><div class="gmail_quote"><br><div dir="ltr"><div>Dear Woodley (or anyone else who can help),&nbsp;</div><div><br></div><div>Ace is crashing unexpectedly with at least two sentences in a large regression test for ZHONG:</div><div>能 不 能 借给 我 一 枝 笔 ?&nbsp; (can-not-can lend me 1 CL pen?)<br></div><div>要 不 要 借 书 ?&nbsp; (want-not-want borrow book?)<br></div><div><br></div><div>Our suspicion is that the problem arises from the interaction&nbsp;of this V-not-V question form in Mandarin, and the fact that in these examples the verbs are auxiliaries.&nbsp;</div><div>The same error does not happen, for example, for the sentence:&nbsp;</div><div><br></div><div>你 吃 不 吃 肉 ? (you eat-not-eat mean?)</div><div><br></div><div>We repeatedly get the same error for these (and similar) sentences:&nbsp;</div><div><b>ace: type.c:625: type_to_string: Assertion `ty-&gt;name[0]=='"'' failed.</b></div><b>Aborted (core dumped)</b><div><br><div>=========================================================</div><div>$ ./ace -g zhong.dat <br>能 不 能 借给 我 一 枝 笔 ?<br>ace: type.c:625: type_to_string: Assertion `ty-&gt;name[0]=='"'' failed.<br>Aborted (core dumped)<br></div><div><br></div><div>./ace -g zhong.dat <br><div>要 不 要 借 书 ?<br></div><div></div>ace: type.c:625: type_to_string: Assertion `ty-&gt;name[0]=='"'' failed.<br>Aborted (core dumped)<br></div><div>==========================================================</div><div><br></div><div>This happens both in ACE 0.9.30 and&nbsp;0.9.31; However, it does not happen with LKB FOS (we get parses for both sentences above, see below).</div><div><br></div><div><br></div><div><div><span id="gmail-m_8491388651082578574cid:ii_k9usf45f0">&lt;Screenshot from 2020-05-06 11-28-01.png&gt;</span><br></div></div><div><br></div><div><div><span id="gmail-m_8491388651082578574cid:ii_k9usfdcv1">&lt;Screenshot from 2020-05-06 11-30-49.png&gt;</span><br></div></div><div><br></div><br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"></div></div></div></div></div></div><div>Is there anything we might be missing? We would much appreciate if you could help us solve this.&nbsp;</div><div><br></div><div>For testing, you might want to download the current (uncommitted) version of ZHONG:&nbsp;<a href="https://drive.google.com/open?id=1p7lPA06sD2v6Xq0qG0TslGF0x6n5uIqV" target="_blank">https://drive.google.com/open?id=1p7lPA06sD2v6Xq0qG0TslGF0x6n5uIqV</a></div><div><br></div><div><br></div><div>Cheers,</div><div>Luis</div><div><br></div></div></div></div></div></blockquote></div></div></blockquote></div>
</div></blockquote></body></html>