Load fragment to reduce memory usage.

master
Gijs 3 years ago
parent 82eb877cb9
commit 206ec19c02

@ -198,11 +198,11 @@ def book_en ():
first_word = 'a'
if fragment == 0:
novel = os.path.join(basepath, '../data/emilia_english.txt')
novel = os.path.join(basepath, '../data/emilia_english_fragment.txt')
author = 'Emilia Pardo Bazán' # Non breaking spaces
title = 'The Swan of Vila Morta' # Non breaking spaces
else:
novel = os.path.join(basepath, '../data/benito_english.txt')
novel = os.path.join(basepath, '../data/benito_english_fragment.txt')
author = 'Benito Pérez Gáldos' # Non breaking spaces
title = 'Marianela'

Loading…
Cancel
Save