mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Add comment
This commit is contained in:
parent
1c8146e4a5
commit
e777006137
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user