done
This commit is contained in:
parent
e1ae7f9cae
commit
090a391b68
@ -17,7 +17,7 @@ def oov(text, vocab):
|
||||
text_splitted = text.split(' ')
|
||||
for word in text_splitted:
|
||||
if word.lower() not in vocab:
|
||||
list_of_words.append(word)
|
||||
list_of_words.append(word.lower())
|
||||
return set(list_of_words)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user