This commit is contained in:
Alejandro Moreo Fernandez 2019-06-11 18:25:29 +02:00
parent 23e62162b5
commit 44f4735af1
3 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import os
# TODO: sentence length (Mendenhall-style) ?
for epistola in [2]:
for epistola in [1,2]:
print('Epistola {}'.format(epistola))
print('='*80)
@ -25,7 +25,7 @@ for epistola in [2]:
if epistola==2:
paragraphs = range(14, 91)
target = [f'EpistolaXIII_{epistola}.txt'] + [f'EpistolaXIII_{epistola}_{paragraph}.txt' for paragraph in paragraphs]
target = [f'EpistolaXIII_{epistola}.txt'] + [f'EpistolaXIII_{epistola}_new.txt'] + [f'EpistolaXIII_{epistola}_{paragraph}.txt' for paragraph in paragraphs]
positive, negative, _, _, ep_texts = load_texts(path, positive_author='Dante', unknown_target=target)
pickle_file = f'../dante_color/epistola{epistola}.pkl'

BIN
testi_1.zip Executable file → Normal file

Binary file not shown.

BIN
testi_2.zip Executable file → Normal file

Binary file not shown.