forked from tdwojak/Python2017
commited tasks
This commit is contained in:
parent
4f1d8b6065
commit
82d5caf3d7
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user