challenging-america-word-ga.../lm0.py
Szymon Parafiński 419a452bbe add scripts
2023-03-29 11:51:53 +02:00

9 lines
209 B
Python

#!/usr/bin/python3
import sys
for line in sys.stdin:
text = line.split("\t")[6].split(" ")
if "united" in text:
print('states:0.99 :0.01')
else:
print('the:0.3 to:0.2 of:0.1 and:0.1 a:0.2 :0.1')