forked from kristjan/cjvt-valency
fixed the sentence duplication bug. todo: functors
This commit is contained in:
@@ -302,6 +302,9 @@ def api_get_functor_frames():
|
||||
for ent in cur:
|
||||
frames += frames_from_db_entry(ent) # pre-process this step for prod TODO
|
||||
|
||||
for f in frames:
|
||||
print(f.to_json())
|
||||
|
||||
# raw_frames = vallex.functors_index[functor] # TODO
|
||||
ret_frames = RF(frames, valdb[SENSEMAP_COLL])
|
||||
return prepare_frames(ret_frames)
|
||||
|
||||
Reference in New Issue
Block a user