forked from kristjan/cjvt-valency
Reduce 0 and 1 working, todo reduce 5.
This commit is contained in:
@@ -28,7 +28,10 @@ def frames_from_db_entry(dbent):
|
||||
tids=[_full_tid(srl["to"])]
|
||||
) for srl in srlarr
|
||||
],
|
||||
sentences=[(dbent["sid"], dbent["tokens"])], # [(ssj_id, {word: _, lemma: _, msd: _}), ...]
|
||||
# sentences=[(dbent["sid"], dbent["tokens"])],
|
||||
sentences=[
|
||||
[(_full_tid(t["tid"]), t)for t in dbent["tokens"]],
|
||||
]
|
||||
)]
|
||||
return frames
|
||||
|
||||
|
||||
Reference in New Issue
Block a user