test 6 version

This commit is contained in:
pietrzakkuba 2022-04-03 10:06:49 +02:00
parent 4e91ffc077
commit c65a03a0ad
3 changed files with 17872 additions and 17871 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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

File diff suppressed because it is too large Load Diff