Particles in info structure library and head-adjunct rules

Currently in the information structure library:

                if _pos == 'before':
                    rule = 'adj-head-int := adj-head-int-phrase.'
                    rules.add(rule)
                elif _pos == 'after':
                    rule = 'head-adj-int := head-adj-int-phrase.'
                    rules.add(rule)
                else: #both
                    rule = 'adj-head-int := adj-head-int-phrase.'
                    rules.add(rule)
                    rule = 'head-adj-int := head-adj-int-phrase.'
                    rules.add(rule)

Now, the above code will be executed for each information structure modifier-type marker, such as a particle.

If there is more than one particle, or if there are other kinds of adverbs in the grammar, the above seems to no longer make sense, because for normal adverbs, both head-adj and adj-head rules will be added anyway?

Do we need to add particle FORM here perhaps, to rule out wrong attachment (e.g. a particle specified as attaching after the noun/verb will attach also before, as a normal adverb)?

There’s a feature (POSTHEAD) to allow modifiers to control which side they attach on. I think that’s what you’d want to use.

2 Likes