Skip to content

Commit

Permalink
preprocess function fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
akashrajkn committed May 19, 2019
1 parent 63e3215 commit 68357d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def modify_task2_files():
for lang in ['LANG', 'arabic', 'finnish', 'georgian', 'german', 'hungarian', 'maltese', 'navajo', 'russian', 'spanish', 'turkish']:

n_p = common_path + '{}-task2-'.format(lang)
for t in ['train', 'dev']:
for t in ['train', 'dev', 'test']:
filepath = n_p + t

if os.path.isfile(filepath):
Expand All @@ -182,7 +182,7 @@ def modify_task1_files():
for lang in ['LANG', 'arabic', 'finnish', 'georgian', 'german', 'hungarian', 'maltese', 'navajo', 'russian', 'spanish', 'turkish']:

n_p = common_path + '{}-task1-'.format(lang)
for t in ['train', 'dev']:
for t in ['train', 'dev', 'test']:
filepath = n_p + t

if os.path.isfile(filepath):
Expand Down

0 comments on commit 68357d5

Please sign in to comment.