This commit is contained in:
Patrick Jentsch 2020-03-23 11:18:27 +01:00
parent 303ea166d2
commit e99053e3cf

View File

@ -62,7 +62,7 @@ class Subcorpus:
'right': list(range(match_end + 1, right_end))}) 'right': list(range(match_end + 1, right_end))})
cpos_list = [] cpos_list = []
for match in matches: for match in matches:
cpos_list += match['left'] + match['hit'] + match['right'] cpos_list += match['lc'] + match['hit'] + match['rc']
cpos_list = list(set(cpos_list)) cpos_list = list(set(cpos_list))
lookups = {} lookups = {}
if len(cpos_list) > 0: if len(cpos_list) > 0: