I am looking for an example of how to use the 64/32-bit flags that are returned from functions like:
^partofspeech()
^properties()
^flags()
^role()
I am sure this must be simple to do but I cannot find an example and I have tried things like:
$isNoun = ^properties( dog) & NOUN
$isNoun = ^properties( dog ) AND NOUN
$isNoun = ^properties( dog)
$isNoun &= NOUN
yes, I know that there exists ^hasanyproperty() and ^hasallproperty() but those will not give you information from the parsed sentence only the dict.