|
|
|
@ -24,12 +24,14 @@ def sorted_by_len_tids(frames):
|
|
|
|
|
|
|
|
|
|
def reduce_0(frames, valdb_sensemap=None):
|
|
|
|
|
# new request... frames should be sorded by
|
|
|
|
|
# functors list (basically reduce_1, just each
|
|
|
|
|
# sentence gets its own frame)
|
|
|
|
|
r1_frames = reduce_1(frames)
|
|
|
|
|
# functors list
|
|
|
|
|
|
|
|
|
|
# return frames # simplify code...
|
|
|
|
|
# frames = reduce_1(frames)
|
|
|
|
|
|
|
|
|
|
sorting_strings = []
|
|
|
|
|
separated_frames = []
|
|
|
|
|
for frame in r1_frames:
|
|
|
|
|
for frame in frames:
|
|
|
|
|
for tid in frame.tids:
|
|
|
|
|
tmp_frame = DC(frame)
|
|
|
|
|
tmp_frame.tids = [tid]
|
|
|
|
|