commit
This commit is contained in:
parent
fc11609f0d
commit
67b7c54e41
|
@ -0,0 +1,8 @@
|
|||
|
||||
*~
|
||||
*.swp
|
||||
*.bak
|
||||
*.pyc
|
||||
*.o
|
||||
.DS_Store
|
||||
.token
|
|
@ -1,2 +1,9 @@
|
|||
# challenging-america-word-gap-prediction
|
||||
Challenging America word-gap prediction
|
||||
===================================
|
||||
|
||||
Guess a word in a gap.
|
||||
|
||||
Evaluation metric
|
||||
-----------------
|
||||
|
||||
LikelihoodHashed is the metric
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
--metric PerplexityHashed --precision 2 --in-header in-header.tsv --out-header out-header.tsv
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
FileId Year LeftContext RightContext
|
|
|
@ -0,0 +1 @@
|
|||
Word
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/python3
|
||||
import sys
|
||||
for line in sys.stdin:
|
||||
if "United" in line:
|
||||
print('States:0.2 Kingdom:0.2 :0.6')
|
||||
else:
|
||||
print('the:0.2 be:0.2 to:0.2 and:0.1 :0.3')
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue