bring up your old project... you need the api structure!

This commit is contained in:
2019-04-05 00:46:19 +02:00
parent 044fa66910
commit 5a064b4e07
3 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ def frames_from_db_entry(dbent):
tids=[_full_tid(srl["to"])]
) for srl in srlarr
],
sentences=[dbent["tokens"]],
sentences=[(dbent["sid"], dbent["tokens"])], # [(ssj_id, {word: _, lemma: _, msd: _}), ...]
)]
return frames