All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gengoai.hermes.example.cg Maven / Gradle / Ivy

There is a newer version: 2.1
Show newest version
## ==============================================================================================
## Detect "Spook" events requiring an agent doing the spooking and a patient being spooked
## ==============================================================================================
[spook_event]
trigger: /^spook/ & #VERB
annotation: capture=*
            type=EVENT
            $TAG=SPOOK_EVENT
            requires=spooker
            requires=spookee
relation: spookee
          type=EVENT_ROLE
          value=SPOOKEE
          requires=spooker
          @>=filter(@PHRASE_CHUNK(@<{'dobj'}), #NOUN)
          @<=$_
relation: spooker
          type=EVENT_ROLE
          value=SPOOKER
          requires=spookee
          @>=filter(@PHRASE_CHUNK(@<{'nsubj'}), #NOUN)
          @<=$_
## === [spook_event] ==============================================================================




© 2015 - 2024 Weber Informatics LLC | Privacy Policy