Clean up corpus analysis and add new features

This commit is contained in:
Stephan Porada
2020-03-18 15:52:53 +01:00
parent c5e56692b1
commit 3111cc5175
5 changed files with 129 additions and 61 deletions

View File

@@ -43,7 +43,7 @@ def corpus_analysis_query(query):
response = {'code': 1}
socketio.emit('corpus_analysis_query', response, room=request.sid)
else:
chunk_size = 500
chunk_size = 100
chunk_start = 0
context = 100
while chunk_start < client.match_count: