removed debug

This commit is contained in:
Rafał Jaworski 2019-06-13 12:59:10 +02:00
parent 946e77cd09
commit 8657c93491

View File

@ -37,8 +37,6 @@ lem_output_name = sys.argv[4]
sentences_buffer = []
with open(file_name) as in_file, open(norm_output_name, 'w') as out_norm, open(lem_output_name, 'w') as out_lem:
for line in in_file:
if language_code == 'en':
print('sending: '+line.rstrip())
sentences_buffer.append(line.rstrip())
if len(sentences_buffer) == BUFFER_SIZE:
write_result(lemmatize_sentences(language_code,sentences_buffer), out_norm, out_lem)