mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Move down from 100 to 50 words lr context
This commit is contained in:
parent
716e1c357a
commit
78f93a884b
@ -58,7 +58,7 @@ def corpus_analysis_query(query):
|
|||||||
# TODO: Stop here and add a new method for transmission
|
# TODO: Stop here and add a new method for transmission
|
||||||
chunk_size = 100
|
chunk_size = 100
|
||||||
chunk_start = 0
|
chunk_start = 0
|
||||||
context = 100
|
context = 50
|
||||||
progress = 0
|
progress = 0
|
||||||
client.status = 'running'
|
client.status = 'running'
|
||||||
while chunk_start <= results.attrs['size']:
|
while chunk_start <= results.attrs['size']:
|
||||||
|
@ -74,24 +74,14 @@ class DisplayOptionsForm(FlaskForm):
|
|||||||
('20', '20'),
|
('20', '20'),
|
||||||
('30', '30'),
|
('30', '30'),
|
||||||
('40', '40'),
|
('40', '40'),
|
||||||
('50', '50'),
|
('50', '50')])
|
||||||
('60', '60'),
|
|
||||||
('70', '70'),
|
|
||||||
('80', '80'),
|
|
||||||
('90', '90'),
|
|
||||||
('100', '100')])
|
|
||||||
results_per_page = SelectField('Results per page',
|
results_per_page = SelectField('Results per page',
|
||||||
choices=[('', 'Choose your option'),
|
choices=[('', 'Choose your option'),
|
||||||
('10', '10'),
|
('10', '10'),
|
||||||
('20', '20'),
|
('20', '20'),
|
||||||
('30', '30'),
|
('30', '30'),
|
||||||
('40', '40'),
|
('40', '40'),
|
||||||
('50', '50'),
|
('50', '50')])
|
||||||
('60', '60'),
|
|
||||||
('70', '70'),
|
|
||||||
('80', '80'),
|
|
||||||
('90', '90'),
|
|
||||||
('100', '100')])
|
|
||||||
|
|
||||||
|
|
||||||
class InspectDisplayOptionsForm(FlaskForm):
|
class InspectDisplayOptionsForm(FlaskForm):
|
||||||
|
Loading…
Reference in New Issue
Block a user