[developers] (poosible) bug report: LKB doesn't generate on a different index
Xuchen Yao
xuchen at coli.uni-saarland.de
Sat Apr 3 16:05:33 CEST 2010
Hello LKB developers,
I'm having a weird behavior of LKB that it generates selectively on MRX.
I have two MRX representations with only 1 difference: the first one
uses "x5" as the ARG0 value of the main verb while the second one uses
"x9". LKB generates from the first one but not from the second one.
To reproduce this, please do:
1. Save the two attachments as t1.xml and t2.xml
2. run the following cmd from LKB:
(lkb::generate-from-mrs (mrs::read-single-mrs-xml-file "/tmp/t1.xml"))
(lkb::generate-from-mrs (mrs::read-single-mrs-xml-file "/tmp/t2.xml"))
LKB should generate from one but not the other.
To illustrate more, the MRS in the two XML files look like this:
Sentence: a society is flooded greatly.
LTOP: h1
INDEX: e2
RELS: <
[ _A_Q_REL<0:1>
LBL: h3
ARG0: x5 [ x PERS: 3 NUM: SG ]
RSTR: h13
BODY: h12 ]
[ _society_n_of_rel<1:2>
LBL: h14
ARG0: x5 [ x PERS: 3 NUM: SG ]
ARG1: i15 ]
[ _flood_v_cause_rel<3:4>
LBL: h9
ARG0: e2 [ e SF: PROP TENSE: PRES MOOD: INDICATIVE PROG: - PERF: - ]
ARG1: p17
ARG2: x5 [ x PERS: 3 NUM: SG ] ]
[ PARG_D_REL<3:4>
LBL: h9
ARG0: e18 [ e SF: PROP ]
ARG1: e2 [ e SF: PROP PRES: UNTENSED MOOD: INDICATIVE PROG: - PERF: - ]
ARG2: x5 [ x PERS: 3 NUM: SG ] ]
[ _great_a_1_rel<4:5>
LBL: h9
ARG0: e19 [ e SF: PROP TENSE: UNTENSED MOOD: INDICATIVE PROG: - PERF: - ]
ARG1: e2 [ e SF: PROP PRES: UNTENSED MOOD: INDICATIVE PROG: - PERF: - ] ]
>
HCONS: < h13 qeq h14 >
If you replae all "x5" with "x9" (or diff t1.xml t2.xml to show the
difference) in the above MRS, you get the other one that doesn't generate.
The version of LKB I'm using:
LKB cvs-version: "$Date: 2009-04-27 07:23:53 -0700 (Mon, 27 Apr 2009) $"
(downloaded directly from delph-in.net, so it's a binary format built
with Allegro CL) under Ubuntu 8.04, ERG (0902)
If this is a bug of LKB, could somebody please find out the mysterious
reason? Or maybe LKB has some constraints on variable assignments while
my program violated these constraints? Thanks.
With kind regards,
Xuchen Yao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t1.xml
Type: text/xml
Size: 3071 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20100403/aedbbc59/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t2.xml
Type: text/xml
Size: 3071 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20100403/aedbbc59/attachment-0001.xml>
More information about the developers
mailing list