diff --git a/utils.py b/utils.py index fe1d5c5b240896eb55f08f38ac427c167c6fdd5b..fd00ca9a2adf435aa0625b86ca1ff5be76c670eb 100644 --- a/utils.py +++ b/utils.py @@ -242,4 +242,5 @@ def print_results_to_file(corpus, test_sentences, test_results, with open('test_results_ST3/' + corpus + '.tsv', 'a+', encoding='utf-8') as f: for line in results_to_write: - f.write('\t'.join([str(x) for x in line])) \ No newline at end of file + f.write('\t'.join([str(x) for x in line])) + f.write('\n') \ No newline at end of file