This commit is contained in:
s45148 2017-11-19 15:30:55 +01:00
parent 3bb477ce31
commit b932a8291e

View File

@ -13,8 +13,12 @@ jak 'set', która przechowuje elementy bez powtórzeń.)
def oov(text, vocab): def oov(text, vocab):
pass VerifiedList = []
TextList = text.split(' ')
for TextListElement in TextList:
if TextListElement not in vocab:
VerifiedList.append(TextListElement)
return VerifiedList
def tests(f): def tests(f):