I have a string with a boolean logic representation and I want to extract positive and negative words from it. Negative words are the ones preceded by not.
not
E