[Attempto] An error in paraphrase module
Jean-Marc Vanel
jeanmarc.vanel at gmail.com
Thu Jun 2 17:16:15 CEST 2011
First prefixing p: allows to remove the 3 warnings :
If p:Agent1 learns that p:Agent2 says hello then p:Agent1's goal is hello.
But this does not fix the paraphrase issue.
However, you can say the same thing with common nouns instead of proper
names :
If an agent A1 learns that an agent A2 says hello then A1's goal is hello.
Stil not a fix :( .
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 :
If an agent A1 learns that an agent A2 says a hello then A1's goal is a
hello.
Stil not a fix :( .
2011/6/2 Pierre-Alexandre Voye <ontologiae at gmail.com>
> Hello,
> I got an error in the paraphrase module, although the DRS output is good.
> Maybe it's normal, I don't know.
> Here the sentence I gave to APE :
> if Agent1 learns that Agent2 says hello then Agent1's goal is hello.
>
> The parameters was : -cparaphrase2 -cdrs -guess -cdrspp
>
> if Agent1 learns that Agent2 says hello then Agent1's goal is hello.
>
> Here the output :
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <apeResult>
> <duration tokenizer="0.020" parser="0.000" refres="0.000"/>
> <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>
> <drspp>[]
> [A, B]
> predicate(A, learn, named(Agent1), B)-1/3
> B
> [C]
> predicate(C, say, named(Agent2), named(hello))-1/6
> =>
> [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
> </drspp>
> <paraphrase2>ERROR</paraphrase2>
> <messages>
> <message
> importance="warning"
> type="word"
> sentence="1"
> token="2"
> value="Agent1"
> repair="Undefined word. Interpreted as a singular proper name."/>
> <message
> importance="warning"
> type="word"
> sentence="1"
> token="5"
> value="Agent2"
> repair="Undefined word. Interpreted as a singular proper name."/>
> <message
> importance="warning"
> type="word"
> sentence="1"
> token="11"
> value="Agent1"
> repair="Undefined word. Interpreted as a singular proper name."/>
> </messages>
> </apeResult>
>
> Regards,
> P-A
>
> --
> ---------------------
> Isaac Project - http://www.lisaac.org/
>
> _______________________________________________
> attempto mailing list
> attempto at lists.ifi.uzh.ch
> https://lists.ifi.uzh.ch/listinfo/attempto
>
>
--
Jean-Marc Vanel
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/ - EulerGUI, a turntable GUI for Semantic Web +
rules, XML, UML, eCore, Java bytecode
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
( we rarely listen to voice messages, please send a mail instead )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ifi.uzh.ch/pipermail/attempto/attachments/20110602/62bad0fb/attachment.html>
More information about the attempto
mailing list