Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
Jakub Eichner | 623d5dbcee | |
Jakub Eichner | d751e9a5e5 | |
Jakub Eichner | e27047f254 | |
Jakub Eichner | 64a495fe2b | |
Jakub Eichner | e268f082ed | |
Jakub Eichner | 3a42d96ca5 | |
Jakub Eichner | beb68f1e6e | |
Jakub Eichner | 5e2293a4f2 | |
Jakub | 4368b9db0b | |
s478874 | bd95f79414 |
|
@ -6,3 +6,5 @@
|
||||||
*.o
|
*.o
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.token
|
.token
|
||||||
|
|
||||||
|
geval
|
21038
dev-0/out.tsv
21038
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,8 @@
|
||||||
|
description: Bigram simple solution
|
||||||
|
tags:
|
||||||
|
- challenging-america
|
||||||
|
- bigram
|
||||||
|
params:
|
||||||
|
unwanted-params:
|
||||||
|
param-files:
|
||||||
|
links:
|
13
lm0.py
13
lm0.py
|
@ -1,13 +0,0 @@
|
||||||
#!/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('be:0.6 a:0.35 :0.05')
|
|
||||||
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')
|
|
Binary file not shown.
Binary file not shown.
Can't render this file because it is too large.
|
BIN
test-A/in.tsv.xz
BIN
test-A/in.tsv.xz
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue