delph-in / matrix

The Grammar Matrix
https://matrix.ling.washington.edu/index.html
Other
11 stars 6 forks source link

Adp is blocked from combining from the possessor via head-comp #649

Open ltxom opened 2 years ago

ltxom commented 2 years ago

Allison Dods discovered this issue, and attached choices file is a made-up that can reproduce Allison's discovery.

word-order=free
section=adnom-poss
  poss-strat1_order=head-initial
  poss-strat1_mod-spec=spec
  poss-strat1_mark-loc=possessor
  poss-strat1_pronoun-allow=no
  poss-strat1_possessor-type=non-affix
  poss-strat1_possessor-mark-order=head-initial
  poss-strat1_possessor-agr=non-agree
  poss-strat1_possessor-orth=poss
...
  adp1_order=after
...
  adp2_order=after

The resulting grammar from this choices file fails to parse sentence n1 poss n2 iv since the head-comp rule specifies its HEAD to be +nvjrcdmo (everything but not adp). It also fails to rule out the sentence n1 n2 poss iv. The head-comp and comp-head rules generated now don't have constraints on HEAD.INIT features. However, the possessor-adp-lex type has HEAD.INIT + already. Thus, the problem is head-comp and comp-head rules generations in the word-order library, which should use the feature INIT to control what goes through which rule.

Problematic TDL snippets:

head-comp-phrase := basic-head-1st-comp-phrase & head-initial-head-nexus &
  [ SYNSEM.LOCAL.CAT.HEAD +nvjrcdmo ].

comp-head-phrase := basic-head-1st-comp-phrase & head-final-head-nexus.