For some of my analyses, I need to change the definition for noun-lex that is added by lexical_items.py. For example, in one case, I need noun-lex to have a SPR that is of head type
+nd rather than
det. I’d prefer not to change the way noun-lex is added by default in lexical_items.py, but rather only in those cases when it’s actually necessary (even though it doesn’t cause regression tests to fail when it’s changed in lexical_items.py). Whether or not I need to make this change for a given analysis is determined by info that the user inputs on the adnominal possession subpage, so I’d rather keep any logic around this decision in adnominal_possession.py, just to make things more readable for future developers. Is it possible to add tdl in my library (which is called after lexical_items.py) that partially overwrites a tdl definition? For example, is it possible to add this tdl in my library in such a way that when contradictions between the two definitions exist, it’ll defer to the later definition?
noun-lex := [ SYNSEM.LOCAL.CAT.VAL.SPR.FIRST.LOCAL.CAT.HEAD +nd ].
Or do I need to deal with this in the place where it’s originally defined?