The following rule works for my Russian grammar and for a number of regression tests but turns out to be problematic when I try a v-initial language (or maybe some other characteristic of the language is at play, I am not sure):
extracted-comp-phrase := basic-extracted-comp-phrase & [ HEAD-DTR.SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST [ ], SYNSEM.LOCAL.CAT.HEAD verb ]. basic-extracted-comp-phrase := basic-extracted-arg-phrase & head-compositional & [ SYNSEM canonical-synsem & [ LOCAL.CAT [ VAL [ SUBJ #subj, SPR #spr, COMPS #comps ], MC #mc ] ], HEAD-DTR [ SYNSEM [ LOCAL.CAT [ VAL [ SUBJ #subj, SPR #spr, COMPS < gap . #comps > ], MC #mc ] ] ], C-CONT [ RELS.LIST < >, HCONS.LIST < >, ICONS.LIST < > ] ].
With my V-initial language, the rule spins.
(1) Can anyone see why it would spin on a v-initial language but no on the other languages I tried it on?
(2) Is there a way to make this rule work while maintaining the general idea that more than one complement can be extracted?
I thought that, if there is only one complement, then #comps will be null and everything will be fine…