Spaces:
Sleeping
Sleeping
Anis Taluqdar
commited on
Commit
·
c83c82c
1
Parent(s):
792f49a
updated
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ def clean_text(text):
|
|
| 121 |
def main_func(sentence):
|
| 122 |
|
| 123 |
# sentence = clean_text(sentence)
|
| 124 |
-
|
| 125 |
removed_dont = transform_contractions(sentence)
|
| 126 |
if len(removed_dont) != len(sentence):
|
| 127 |
print("Original:", sentence)
|
|
|
|
| 121 |
def main_func(sentence):
|
| 122 |
|
| 123 |
# sentence = clean_text(sentence)
|
| 124 |
+
sentence = sentence.lower()
|
| 125 |
removed_dont = transform_contractions(sentence)
|
| 126 |
if len(removed_dont) != len(sentence):
|
| 127 |
print("Original:", sentence)
|