Closed aflwong closed 3 years ago
Could you please share me a screen shot of your pipeline? The Ruta component should be located after assertion component.
On Thu, Nov 5, 2020, 10:40 AM aflwong notifications@github.com wrote:
I wrote a simple code to test negation but it doesn't seem to work for me. Adapted from the smoking status example. Using CLAMP 1.6.3.
Here's a simple text to test. I can see 'PEANUT' semanticTag and assertion is 'absent' in I do not have any peanut.
BLOCK(ForEach) Sentence{} { ClampNameEntityUIMA{ FEATURE( "semanticTag", "PEANUT"), FEATURE( "assertion", "absent" ) -> SETFEATURE( "semanticTag", "NoPeanut" ) }; }
[image: image] https://user-images.githubusercontent.com/73673971/98269294-29dc9280-1f53-11eb-94dc-7aed8ed4bfb3.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UTHealth-CCB/clamp-support/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBH2P277LXJRKZDIVFZ2QTSOLIOLANCNFSM4TLTBKUQ .
Previous pipeline:
That's it! I switched it around and it's now working. Thanks!
I wrote a simple code to test negation but it doesn't seem to work for me. Adapted from the smoking status example. Using CLAMP 1.6.3.
Here's a simple text to test. I can see 'PEANUT' semanticTag and assertion is 'absent' in
I do not have any peanut.
BLOCK(ForEach) Sentence{} { ClampNameEntityUIMA{ FEATURE( "semanticTag", "PEANUT"), FEATURE( "assertion", "absent" ) -> SETFEATURE( "semanticTag", "NoPeanut" ) }; }
What am I missing?