Add comment

This commit is contained in:
Patrick Jentsch 2020-10-09 12:00:59 +02:00
parent 1c8146e4a5
commit e777006137

View File

@ -8,6 +8,7 @@ from ..events import connected_sessions
from ..models import Corpus, User
import cqi
import math
import logging
'''
@ -124,6 +125,10 @@ def corpus_analysis_query(query):
chunk_start = 0
context = 50
progress = 0
# for attr in corpus.structural_attributes.list():
# if attr.attrs['name'] == 'text':
# text_attr = attr
# logging.warning(results.fdist_1(15, results.attrs['fields']['match'], text_attr))
client.status = 'running'
while chunk_start <= results.attrs['size']:
if client.status == 'abort':