Add match_count for texts in results.data and results.fullResultsData.

This commit is contained in:
Stephan Porada
2020-10-02 15:32:03 +02:00
parent 370a002af3
commit f195b72ebd
5 changed files with 14 additions and 88 deletions

View File

@ -177,7 +177,6 @@ def corpus_analysis_get_match_with_full_context(payload):
i = 0
# Send data one match at a time.
for index, f_cpos, l_cpos in zip(data_indexes, first_cpos, last_cpos):
logger.warning(index)
i += 1
tmp_match = s.export(f_cpos, l_cpos, context=10)
payload['matches'].append(tmp_match['matches'][0])