test 6 version
This commit is contained in:
parent
4e91ffc077
commit
c65a03a0ad
21038
dev-0/out.tsv
21038
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
1
model.py
1
model.py
@ -21,6 +21,7 @@ def preprocess(text):
|
||||
|
||||
|
||||
def predict(word_before, word_after):
|
||||
return 'the:1.0'
|
||||
prob_list = dict(Counter(model[(word_before, word_after)]).most_common(5)).items()
|
||||
predictions = []
|
||||
prob_sum = 0.0
|
||||
|
14704
test-A/out.tsv
14704
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user