From 090a391b68107fa66e74247927a4bf90e42ca342 Mon Sep 17 00:00:00 2001 From: s45147 Date: Mon, 20 Nov 2017 10:21:13 +0100 Subject: [PATCH] done --- labs02/task03.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs02/task03.py b/labs02/task03.py index b5e2e5f..08c374c 100644 --- a/labs02/task03.py +++ b/labs02/task03.py @@ -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)