1
0
forked from tdwojak/Python2017

commited tasks

This commit is contained in:
s45150 2017-11-19 20:35:51 +01:00
parent 4f1d8b6065
commit 82d5caf3d7

View File

@ -13,11 +13,12 @@ jak 'set', która przechowuje elementy bez powtórzeń.)
def oov(text, vocab):
testList = []
_textPlit =text.split("")
return
test_list = []
_textSPlit =text.split(" ")
for i in _textSPlit:
if i not in vocab:
test_list.append(i)
return test_list