diff --git a/scripts/inject.py b/scripts/inject.py index 66790a7..8190a4b 100644 --- a/scripts/inject.py +++ b/scripts/inject.py @@ -81,6 +81,10 @@ for line, line_en, line_pl in zip(file_en_lemmatized, file_en, file_pl): translation_line_counts.append(1) en.append(line_en) + if len(translation_line_counts) % 50000 == 0: + print('injecting into file: ' + train_in_path + '.injected: ' + str(len(translation_line_counts)), end='\r') + +print('\n') with open(train_expected_path + '.injected', 'w') as file_pl_write: for line, translation_line_ct in zip(file_pl, translation_line_counts):