Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 047116c

Browse files
author
Stanislav Vitko
committed
words to list
1 parent a9db30a commit 047116c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ def text_to_words(body):
6565
words = text.split()
6666
# filter digits
6767
words = filter(lambda x: not x.isdigit() and not is_hex_number(x), words)
68-
return words
68+
return list(words)

0 commit comments

Comments
 (0)