diff --git a/app/corpora/cqi/models/subcorpora.py b/app/corpora/cqi/models/subcorpora.py index bb662d3e..b39f7554 100644 --- a/app/corpora/cqi/models/subcorpora.py +++ b/app/corpora/cqi/models/subcorpora.py @@ -62,7 +62,7 @@ class Subcorpus: 'right': list(range(match_end + 1, right_end))}) cpos_list = [] 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)) lookups = {} if len(cpos_list) > 0: