[Attempto] More DRSXML output troubles...

Joshua TAYLOR tayloj at cs.rpi.edu
Sun Jun 14 17:18:24 CEST 2009


OK, I'll be watching for it!
Thanks, //JT

On Sun, Jun 14, 2009 at 6:06 AM, Tobias Kuhn<t.kuhn at gmx.ch> wrote:
> This seems to be related to the other problem with the XML DRS. With our
> latest version of the parser, this problem does not occur anymore. This new
> version of the parser will be released within the next few days.
>
>
> Tobias
>
>
> Joshua TAYLOR wrote:
>>
>> Hello all,
>>
>> Here's another sentence that gives me some trouble with the
>> webservice: "A person that inhabits Dreadsbury-Mansion kills Agatha."
>> Using the webclient, I can generate the DRS:
>>
>>
>> [A, B, C]
>> object(A, person, countable, na, eq, 1)-1/2
>> predicate(B, inhabit, A, named(Dreadsbury-Mansion))-1/4
>> predicate(C, kill, A, named(Agatha))-1/6
>>
>>
>> However, asking for DRSXML output in the webclient gives nothing.
>> Asking for DRSXML output via the webservice gives an APE result with
>> an empty DRSXML:
>>
>>
>> CL-USER 43 > (invoke-ape-webservice :text "A person that inhabits
>> Dreadsbury-Mansion kills Agatha." :cdrsxml t)
>> "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> <apeResult>
>>  <duration tokenizer=\"0.000\" parser=\"0.010\" refres=\"0.000\"/>
>>  <drsxml></drsxml>
>>  <messages>
>>    <message
>>        importance=\"warning\"
>>        type=\"word\"
>>        sentence=\"1\"
>>        token=\"5\"
>>        value=\"Dreadsbury-Mansion\"
>>        repair=\"Undefined word. Interpreted as a singular proper name.\"/>
>>    <message
>>        importance=\"warning\"
>>        type=\"word\"
>>        sentence=\"1\"
>>        token=\"7\"
>>        value=\"Agatha\"
>>        repair=\"Undefined word. Interpreted as a singular proper name.\"/>
>>  </messages>
>> </apeResult>"
>>
>>
>> Asking for just DRSXML gives some more descriptive errors:
>>
>>
>> CL-USER 46 > (invoke-ape-webservice :text "A person that inhabits
>> Dreadsbury-Mansion kills Agatha." :solo 'drsxml)
>> "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
>> <apeResult>
>>  <messages>
>>    <message
>>        importance=\"error\"
>>        type=\"ws\"
>>        sentence=\"\"
>>        token=\"\"
>>        value=\"error(type_error(text, named(Dreadsbury-Mansion)),
>> context(system:atom_length/2, _G3223))\"
>>        repair=\"Fatal error. Please send screenshot to APE developers.\"/>
>>  </messages>
>> </apeResult>"
>>
>>
>> This is similar to the error that I had not too long ago, except that
>> the patches that i received via the list (thanks again!) on 2 June
>> don't seem to remedy this problem. Trying a local copy of APE leads to
>> an error about the sentence not being ACE:
>>
>>
>> Wright:ape-6.5-090529 tayloj$ ape -versionAttempto Parsing Engine for
>> ACE 6.5, version 6.5-090528
>> Wright:ape-6.5-090529 tayloj$ ape -text "A person that inhabits
>> Dreadsbury-Mansion kills Agatha."
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <apeResult>
>>  <duration tokenizer="0.050" parser="0.010" refres="0.000"/>
>>  <messages>
>>    <message
>>        importance="error"
>>        type="word"
>>        sentence=""
>>        token=""
>>        value="inhabits"
>>        repair="Use the prefix n:, v:, a: or p:."/>
>>    <message
>>        importance="error"
>>        type="word"
>>        sentence=""
>>        token=""
>>        value="kills"
>>        repair="Use the prefix n:, v:, a: or p:."/>
>>    <message
>>        importance="error"
>>        type="sentence"
>>        sentence="1"
>>        token="4"
>>        value="A person that &lt;&gt; inhabits Dreadsbury-Mansion kills
>> Agatha."
>>        repair="This is the first sentence that was not ACE. The sign
>> &lt;&gt; indicates the position where parsing failed."/>
>>  </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