[Attempto] No DRSXML for "John likes Mary." in ACE 6.5?

Joshua TAYLOR tayloj at cs.rpi.edu
Mon Jun 1 18:24:19 CEST 2009


Hi all,

I'm updating some code to handle the new named proper names (among
other things) in the 6.5 release. For the simple sentence "John likes
Mary." I can get the DRS from the webclient:

[A]
predicate(A, like, named(John), named(Mary))-1/2

but can't generate DRSXML (after selecting the DRSXML checkbox, no
DRSXML is presented). Calling the webservice directly (via a Lisp
binding) shows that the drsxml element in the apeResult is empty,
although other formats (at least drs) still work:

CL-USER 27 > (invoke-ape-webservice :text "John likes Mary." :cdrs t :cdrsxml t)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>

<apeResult>
  <duration tokenizer=\"0.000\" parser=\"0.010\" refres=\"0.000\"/>
  <drs>drs([A], [predicate(A, like, named('John'), named('Mary'))-1/2])</drs>
  <drsxml></drsxml>
  <messages/>
</apeResult>

"

For other sentences, though, I can still get drsxml, e.g., for "John
should eat.":

CL-USER 28 > (invoke-ape-webservice :text "John should eat." :cdrs t :cdrsxml t)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>

<apeResult>
  <duration tokenizer=\"0.010\" parser=\"0.000\" refres=\"0.000\"/>
  <drs>drs([], [should(drs([A], [predicate(A, eat, named('John'))-1/3]))])</drs>
  <drsxml>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;

&lt;DRS domain=\"\"&gt;
  &lt;Recommendation&gt;
    &lt;DRS domain=\"A\"&gt;
      &lt;predicate ref=\"A\" verb=\"eat\" subj=\"named(John)\"
sentid=\"1\" tokid=\"3\"/&gt;
    &lt;/DRS&gt;
  &lt;/Recommendation&gt;
&lt;/DRS&gt;</drsxml>
  <messages/>
</apeResult>

"

Any thoughts? Thanks in advance, //JT

-- 
=====================
Joshua Taylor
tayloj at cs.rpi.edu, jtaylor at alum.rpi.edu

"A lot of good things went down one time,
  back in the goodle days."
    John Hartford


More information about the attempto mailing list