I realized my wh-determiner (for the GM library for wh-question) is not quite done yet because it isn’t doing about QUE. So, an NPs like which book looks just like a regular NP and the reason the whole thing gets a parse at the end is due to simple Head-Complement rule.
So, I am working on that, and seem to be stuck.
Here’s what I did:
wh-determiner-lex := determiner-lex & no-icons-lex-item & [ SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST [ LOCAL.CONT.HOOK.INDEX #arg0, NON-LOCAL.QUE <! #arg0 !> ] ].
(I am not sure that’s the right thing to associate QUE with though, but that was my best guess).
The Head-Spec rule doesn’t seem to be copying up non-local features, so, I added this:
my-head-spec-phrase := head-spec-phrase & [ SYNSEM.NON-LOCAL #nonloc, HEAD-DTR.SYNSEM.NON-LOCAL #nonloc ].
But this does not seem to have the effect that I want. When I parse and examine the determiner, I see that it’s SPEC’s QUE is nonempty:
However it is empty on the parent NP:
Does anyone have suggestions/explanations?