Commit 206ec19c authored by gijs's avatar gijs
Browse files

Load fragment to reduce memory usage.

parent 82eb877c
......@@ -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'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment