[Attempto] Position in sentence
Norbert E. Fuchs
fuchs at ifi.uzh.ch
Mon Jul 18 08:14:07 CEST 2011
On 18 Jul 2011, at 00:22, Pierre-Alexandre Voye wrote:
> With the sentence "Droopy and Jack are happy.", i get :
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <apeResult>
> <duration tokenizer="0.000" parser="0.020" refres="0.000"/>
> <drs>drs([A, B, C], [has_part(C, named('Droopy'))-1/'', property(A, happy, pos)-1/5, predicate(B, be, C, A)-1/4, has_part(C, named('Jack'))-1/'', object(C, na, countable, na, eq, 2)-1/''])</drs>
>
> I'm wondering why we haven't a number a the end of " has_part(C, named('Droopy'))-1/'' " and " has_part(C, named('Jack'))-1/'' "
> I have been searching for a documentation about this, but maybe i miss it ?
Pierre-Alexandre
Each DRS condition gets an Index SentenceNumber/TokenNumber where TokenNumber is the number of the respective token within the sentence with the number SentenceNumber. The conditions has_part/2 are artificially created for noun phrase conjunctions, i.e. not derived from any token. Thus they have only a SentenceNumber, but no TokenNumber.
Regards.
--- nef
More information about the attempto
mailing list