Hey there.
I am trying to create a series of responders to deal with statements about interpersonal issues, and am running into some trouble trouble with negation and multiple clauses. Example:
I am trying to use the following pattern to respond to the input…
#! My girlfriend is really angry I didn’t call
u: ([she ~female_role_romantic] ~tobe !not *~2 angry)
... and a couple issues seem to be coming up.
1. The “!not” I put in is intended to match when the user inputs, “she is NOT angry” so the rule won’t fire, but it must be picking up on the “not” in “I did NOT call”. How can I make the negative only apply directly after the verb “tobe”? Is there a better way to handle negatives if I want to be able to allow for a negative in the second clause?
2. This rule will work if I type, “She is really angry” or even “She is really angry I”, but as soon as I add “I didn’t call” it doesn’t work. I’m relatively new to CS so may be missing fundamentals of multiple clauses, but my question is, how should I be writing this to allow for multiple clauses?
Cheers,
Ed