test commit from Windows

This commit is contained in:
dylodylo 2020-04-06 15:34:10 +02:00
parent fa993236b3
commit 9cb993d397

View File

@ -64,8 +64,8 @@ def calc_words_logprobs(words_counts):
total_paranormal = sum(word_counts['paranormal'].values() + len(word_counts['paranormal'].keys()))
# with open('prediction.tsv', 'wt') as tsvfile:
# tsv_writer = csv.writer(tsvfile, delimiter='\t')
# for i in range(counter):
# tsv_writer.writerow('S')
with open('prediction.tsv', 'wt') as tsvfile:
tsv_writer = csv.writer(tsvfile, delimiter='\t')
for i in range(counter):
tsv_writer.writerow('S')