This commit is contained in:
szymonj98 2023-04-25 17:25:17 +02:00
parent 162dadf0d3
commit 52dc7c6b2a
3 changed files with 17933 additions and 17944 deletions

File diff suppressed because it is too large Load Diff

11
run.py
View File

@ -1,11 +0,0 @@
import regex as re
import sys
for line in sys.stdin:
line = re.split(r'\t',line)
last_word = re.split(r'\s',line[6])[-1]
if(last_word == 'united'):
print('states:0.8 a:0.1 :0.1')
elif (last_word != 'the'):
print('the:0.6 a:0.3 :0.1')
else:
print('and:0.6 a:0.3 :0.1')

File diff suppressed because it is too large Load Diff