delph-in / matrix

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

Namespace clash between adverbs on lexicon page and adverbs on sentential negation #701

Open emilymbender opened 5 months ago

emilymbender commented 5 months ago

The attached choices file shows a situation where the user defines an adverbial sentential negation strategy on the sentential negation page and then gives an adverb with the same stem value on the lexicon page. The resulting tdl is mal-formed:

not := extra-neg-adverb-lex & neg-adv-lex & [ STEM < "not" >, SYNSEM.LKEYS.KEYREL.PRED "_not_a_rel" & "neg_rel" ].

The tdl generation should include the adverbs defined on the sentential negation page in the check that produces unique identifiers (e.g. not_2).

It's worth exploring whether a similar check needs to be performed for subordinators defined on the clausal mods page, or if this is already being done. choices.txt