Usuń 'lm0.py'

This commit is contained in:
Aleksandra Gronowska 2023-05-31 02:40:19 +02:00
parent 9d20e1fcdc
commit 1546512acd

12
lm0.py
View File

@ -1,12 +0,0 @@
#!/usr/bin/python3
import sys
import random
words = ['the:0.04 be:0.04 to:0.04 :88',
'have:0.5 too:0.2 it:0.1 :0.2',
'not:0.05 or:0.05 :0.9']
for lines in sys.stdin:
with open("dev-0/out.tsv", "w", encoding='utf-8') as out_file:
for line in lines:
out_file.write(random.choice(words) + "\n")