<div>First prefixing p: allows to remove the 3 warnings :</div>If p:Agent1 learns that p:Agent2 says hello then p:Agent1's goal is hello.<div><br>But this does not fix the paraphrase issue.</div><div>However, you can say the same thing with common nouns instead of proper names :</div>
<div>If an agent A1 learns that an agent A2 says hello then A1's goal is hello.</div><div>Stil not a fix :( .</div><div><br></div><div>Then looking at the DRS, I saw that hello is considered one time as a noun, and next time as an adjective. So I tried this :</div>
<div>If an agent A1 learns that an agent A2 says a hello then A1's goal is a hello.</div><div><div>Stil not a fix :( .</div><div><br></div><div class="gmail_quote">2011/6/2 Pierre-Alexandre Voye <span dir="ltr"><<a href="mailto:ontologiae@gmail.com">ontologiae@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>I got an error in the paraphrase module, although the DRS output is good. Maybe it's normal, I don't know.<br>
Here the sentence I gave to APE :<br>if Agent1 learns that Agent2 says hello then Agent1's goal is hello.<br>
<br>The parameters was : -cparaphrase2 -cdrs -guess -cdrspp<br><br>if Agent1 learns that Agent2 says hello then Agent1's goal is hello.<br><br>Here the output :<br><br><?xml version="1.0" encoding="UTF-8"?><br>
<br><apeResult><br> <duration tokenizer="0.020" parser="0.000" refres="0.000"/><br> <drs>drs([], [=>(drs([A, B], [predicate(A, learn, named('Agent1'), B)-1/3, B:drs([C], [predicate(C, say, named('Agent2'), named(hello))-1/6])]), drs([D, E, F], [relation(D, of, named('Agent1'))-1/12, object(D, goal, countable, na, eq, 1)-1/14, property(E, hello, pos)-1/18, predicate(F, be, D, E)-1/15]))])</drs><br>
<drspp>[]<br> [A, B]<br> predicate(A, learn, named(Agent1), B)-1/3<br> B<br> [C]<br> predicate(C, say, named(Agent2), named(hello))-1/6<br> =><br> [D, E, F]<br> relation(D, of, named(Agent1))-1/12<br>
object(D, goal, countable, na, eq, 1)-1/14<br> property(E, hello, pos)-1/18<br> predicate(F, be, D, E)-1/15<br></drspp><br> <paraphrase2>ERROR</paraphrase2><br> <messages><br> <message<br>
importance="warning"<br> type="word"<br> sentence="1"<br> token="2"<br> value="Agent1"<br> repair="Undefined word. Interpreted as a singular proper name."/><br>
<message<br> importance="warning"<br> type="word"<br> sentence="1"<br> token="5"<br> value="Agent2"<br> repair="Undefined word. Interpreted as a singular proper name."/><br>
<message<br> importance="warning"<br> type="word"<br> sentence="1"<br> token="11"<br> value="Agent1"<br> repair="Undefined word. Interpreted as a singular proper name."/><br>
</messages><br></apeResult><br><br>Regards,<br>P-A<br clear="all"><font color="#888888"><br>-- <br>---------------------<br>Isaac Project - <a href="http://www.lisaac.org/" target="_blank">http://www.lisaac.org/</a><br>
</font><br>_______________________________________________<br>
attempto mailing list<br>
<a href="mailto:attempto@lists.ifi.uzh.ch">attempto@lists.ifi.uzh.ch</a><br>
<a href="https://lists.ifi.uzh.ch/listinfo/attempto" target="_blank">https://lists.ifi.uzh.ch/listinfo/attempto</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jean-Marc Vanel<br>Déductions SARL - Consulting, services, training,<br>Rule-based programming, Semantic Web<br><a href="http://jmvanel.free.fr/" target="_blank">http://jmvanel.free.fr/</a> - EulerGUI, a turntable GUI for Semantic Web + rules, XML, UML, eCore, Java bytecode<br>
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16<br>( we rarely listen to voice messages, please send a mail instead )<br>
</div>