Great prediction model

This commit is contained in:
s478874 2023-03-29 11:16:19 +02:00
parent 798d04eb15
commit 836a845a25
3 changed files with 10532 additions and 0 deletions

10519
dev-0/out.tsv Normal file

File diff suppressed because it is too large Load Diff

BIN
geval Executable file

Binary file not shown.

13
lm0.py Normal file
View File

@ -0,0 +1,13 @@
#!/usr/bin/python3
import sys
for i, line in enumerate(sys.stdin):
if(line.split('\t')[6].endswith('\n')):
print('hence:0.95 :0.05')
elif(line.split('\t')[6].endswith('ot')):
print('a:0.99 :0.01')
elif(line.split('\t')[6].endswith('.')):
print('but:0.85 :0.15')
elif([l.split(' ') for l in line.split('\t')][5][0].endswith('ing')):
print('this:0.88 :0.12')
else:
print('the:0.5 a:0.3 :0.2')