Hello to everybody I have a brief question considering the combination of NOT/NEGATE with contextual tests on the dependency axis:
if I'd just want to check if there are no children being member of a LIST: given the case, that a word has no child at all, I would also like the context to be true; - when I use the NOT keyword, the TESTFLAG is not added - when I use the NEGATE keyword, the TESTFLAG is set - also if NONE is used, the TESTFLAG is set it seems to me that if there is no child, the "NOT c MEMBEROFX" contextual test seems to not yield true while NEGATED / NONE does? Why is that the case? I understand that the scope of NEGATE is the whole following chain (which is here only a single test) while the NOT inverts only the following test; So, what exactly happens if there is no child, or respectively, why is the test with "NOT c modifiers" not successful then? ##################################### #this is a dummy example; should apply to any sentence SECTION DELIMITERS = "<.>" "<!>" "<?>" "<;>" "<-->" "<ΒΆ>"; # define sentence boundary LIST >>> = >>> ; #anything LIST modifiers = very little; #If there is no child for a token, this does not work ADD:test_1 (TESTFLAG_A) TARGET (*) IF (NOT c modifiers); #this works ADD:test_2 (TESTFLAG_B) TARGET (*) IF (NEGATE c modifiers); #this works too ADD:test_3 (TESTFLAG_C) TARGET (*) IF (NONE c modifiers); ######################################## Any answer is apreciated best wishes Michi BTW: big thumbs up for Tino for the ongoing development! -- You received this message because you are subscribed to the Google Groups "Constraint Grammar" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/constraint-grammar. For more options, visit https://groups.google.com/d/optout.
