mirror of
https://github.com/gsi-upm/senpy
synced 2024-12-23 05:28:13 +00:00
11 lines
353 B
Python
11 lines
353 B
Python
|
from senpy.ns import amor, amor_bhv, amor_mft, prov
|
||
|
from senpy.plugins import MoralityPlugin
|
||
|
|
||
|
|
||
|
class DummyMoralityPlugin(MoralityPlugin):
|
||
|
moralValueModel: str = amor_mft["MoralFoundationTHeory"]
|
||
|
|
||
|
def annotate(self, entry, activity, **kwargs):
|
||
|
yield MoralAnnotation(amor_bhv['Conservation'],
|
||
|
confidence=1.8)
|