[Attempto] from DRS to ACE
Gabriele Kahlout
gabriele at mysimpatico.com
Thu Jul 15 19:19:09 CEST 2010
I've gone through most of the material suggested (learn prolog now).
Looking through the code of drs_to_ace.pl I understand that to get the ACE
text from a DRS I should:
Bind the DRS code to a variable and then call:
drs_to_ace(X,Y).
And then Y should be bound to the ACE. I've done that in what follows:
X = '[A]
| object(A,cat,countable, na, eq, 1)-1/4'.
-- X = '[A]\n object(A,cat,countable, na, eq, 1)-1/4'.
drs_to_ace(X,Y).
--X = drs(_G303, []),
--Y = []
The results are unexpected though. Could someone point out where I'm going
wrong, and possibly provide a example that works?
2010/7/13 Norbert E. Fuchs <fuchs at ifi.uzh.ch>
>
> On 13 Jul 2010, at 18:19, Gabriele Kahlout wrote:
>
> > Sadly i don't know prolog and I don't know how to use drs_to_ace.pl. I
> managed to execute it with swipl and paste the DRS in there.
> > Are there a few more steps that you could kindly tell me to follow or I
> should not try?
>
> See
>
> Learn Prolog Now!
> Patrick Blackburn, Johan Bos, and Kristina Striegnitz
>
> http://www.learnprolognow.org/
>
>
> Natural Language Processing Techniques in Prolog
> Patrick Blackburn and Kristina Striegnitz
>
> http://cs.union.edu/~striegnk/courses/nlp-with-prolog/html/<http://cs.union.edu/%7Estriegnk/courses/nlp-with-prolog/html/>
>
>
> --- nef
>
>
>
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer OR with
" ACK" appended to this subject within 48 hours. Otherwise, I might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this)
∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a priori
senders, or if the subject of this email ends with a code, eg. -LICHT01X,
then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y,
subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ifi.uzh.ch/pipermail/attempto/attachments/20100715/378350cc/attachment.htm>
More information about the attempto
mailing list