1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00

Removed unnecessary contexts

This commit is contained in:
J. Fernando Sánchez 2014-11-27 17:43:19 +01:00
parent 86f45f8147
commit 4351f76b60

View File

@ -77,9 +77,7 @@ class Entry(Leaf):
class Opinion(Leaf): class Opinion(Leaf):
opinionContext = { opinionContext = {}
"@vocab": "http://www.gsi.dit.upm.es/ontologies/marl/ns#"
}
def __init__(self, polarityValue=None, hasPolarity=None, *args, **kwargs): def __init__(self, polarityValue=None, hasPolarity=None, *args, **kwargs):
super(Opinion, self).__init__(context=self.opinionContext, super(Opinion, self).__init__(context=self.opinionContext,
prefix="marl", prefix="marl",