Spaces:
Runtime error
Runtime error
Update text_cleaning.py
Browse files- text_cleaning.py +1 -1
text_cleaning.py
CHANGED
@@ -99,7 +99,7 @@ def remove_tweets(text):
|
|
99 |
|
100 |
def clean_text(text):
|
101 |
|
102 |
-
text = unicode_tr(str(
|
103 |
text = toxic_mapping(text)
|
104 |
text = remove_quest_suf_sep(text)
|
105 |
text = remove_tweets(text)
|
|
|
99 |
|
100 |
def clean_text(text):
|
101 |
|
102 |
+
text = unicode_tr(str(text)).lower()
|
103 |
text = toxic_mapping(text)
|
104 |
text = remove_quest_suf_sep(text)
|
105 |
text = remove_tweets(text)
|