delph-in / erg

English Resource Grammar
MIT License
19 stars 3 forks source link

"Let's go with a steak" generates invalid MRS #47

Open EricZinda opened 10 months ago

EricZinda commented 10 months ago

The ERG 2020 generates two parses for "Let's go with a steak":

The first one seems fine:

[ "Let's go with a steak'"
  TOP: h0
  INDEX: e2 [ e SF: comm TENSE: pres MOOD: indicative PROG: - PERF: - ]
  RELS: < [ pronoun_q<0:5> LBL: h4 ARG0: x5 [ x PERS: 1 NUM: pl PT: zero ] RSTR: h6 BODY: h7 ]
          [ pron<0:5> LBL: h8 ARG0: x5 ]
          [ _go_v_1<6:8> LBL: h1 ARG0: e2 ARG1: x5 ]
          [ _with_p<9:13> LBL: h1 ARG0: e9 [ e SF: prop TENSE: untensed MOOD: indicative PROG: - PERF: - ] ARG1: e2 ARG2: x10 [ x PERS: 3 NUM: sg IND: + ] ]
          [ _a_q<14:15> LBL: h11 ARG0: x10 RSTR: h12 BODY: h13 ]
          [ _steak_n_1<16:21> LBL: h14 ARG0: x10 ] >
  HCONS: < h0 qeq h1 h6 qeq h8 h12 qeq h14 > ]

The second one seems to be missing the connection between ARG2 of _go_v_1 and _with_p.:

[ "Let's go with a steak'"
  TOP: h0
  INDEX: e2 [ e SF: comm TENSE: pres MOOD: indicative PROG: - PERF: - ]
  RELS: < [ pronoun_q<0:5> LBL: h4 ARG0: x5 [ x PERS: 1 NUM: pl PT: zero ] RSTR: h6 BODY: h7 ]
          [ pron<0:5> LBL: h8 ARG0: x5 ]
          [ pronoun_q<6:22> LBL: h9 ARG0: x3 [ x PERS: 2 PT: zero ] RSTR: h10 BODY: h11 ]
          [ pron<6:22> LBL: h12 ARG0: x3 ]
          [ _go_v_1<6:8> LBL: h1 ARG0: e2 ARG1: x3 ARG2: h13 ]
          [ _with_p<9:13> LBL: h1 ARG0: e14 [ e SF: prop TENSE: untensed MOOD: indicative PROG: - PERF: - ] ARG1: e2 ARG2: x15 [ x PERS: 3 NUM: sg IND: + ] ]
          [ _a_q<14:15> LBL: h16 ARG0: x15 RSTR: h17 BODY: h18 ]
          [ _steak_n_1<16:21> LBL: h19 ARG0: x15 ] >
  HCONS: < h0 qeq h1 h6 qeq h8 h10 qeq h12 h13 qeq h20 h17 qeq h19 >
  ICONS: < e2 focus e21 [ e SF: comm TENSE: pres MOOD: indicative ] > ]
GRAMMAR ERROR: Holes = 8 and Floaters = 7

Also (I think this is the same issue) It has 7 handles to assign when building a well-formed MRS (go and with share a handle), but there are 8 handles that require something to be assigned to them.

EricZinda commented 5 months ago

Another clue: h13 qeq h20 but there is no h20 predication