z1, z3
This commit is contained in:
parent
3bb477ce31
commit
b932a8291e
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user