1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-09-17 20:12:22 +00:00

Better NIF compliance

This commit is contained in:
J. Fernando Sánchez
2014-12-01 09:38:23 +01:00
parent 4351f76b60
commit 10f4782ad7
6 changed files with 20 additions and 16 deletions

View File

@@ -80,7 +80,6 @@ class Opinion(Leaf):
opinionContext = {}
def __init__(self, polarityValue=None, hasPolarity=None, *args, **kwargs):
super(Opinion, self).__init__(context=self.opinionContext,
prefix="marl",
*args,
**kwargs)
if polarityValue is not None:
@@ -95,7 +94,6 @@ class EmotionSet(Leaf):
if not emotions:
emotions = []
super(EmotionSet, self).__init__(context=self.emotionContext,
prefix="onyx",
*args,
**kwargs)
self.emotions = emotions or []