forked from kristjan/cjvt-valency
fixed functor-frames
This commit is contained in:
@@ -50,6 +50,10 @@ class Frame():
|
||||
self.sentences = sentences
|
||||
self.aggr_sent = None # Dictionary { hw: self.sentences idx }
|
||||
|
||||
def get_functors(self):
|
||||
return [slot.functor for slot in self.slots]
|
||||
|
||||
|
||||
def to_json(self):
|
||||
ret = {
|
||||
"hw": self.hw,
|
||||
|
||||
Reference in New Issue
Block a user