mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add comment
This commit is contained in:
		@@ -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':
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user