Spaces:
Running
Running
Update clean.py
Browse files
clean.py
CHANGED
@@ -183,7 +183,7 @@ class CLEANING:
|
|
183 |
|
184 |
temp_text = temp_text.lstrip().rstrip() # text baş ve sonundaki boşlukları at
|
185 |
|
186 |
-
if len(temp_text.lstrip().rstrip()) > 0:
|
187 |
try:
|
188 |
|
189 |
temp_text = normalizer.normalize(str(temp_text))
|
@@ -204,6 +204,6 @@ class CLEANING:
|
|
204 |
return temp_text
|
205 |
except Exception as e:
|
206 |
print(temp_text)
|
207 |
-
return temp_text
|
208 |
|
209 |
return temp_text
|
|
|
183 |
|
184 |
temp_text = temp_text.lstrip().rstrip() # text baş ve sonundaki boşlukları at
|
185 |
|
186 |
+
"""if len(temp_text.lstrip().rstrip()) > 0:
|
187 |
try:
|
188 |
|
189 |
temp_text = normalizer.normalize(str(temp_text))
|
|
|
204 |
return temp_text
|
205 |
except Exception as e:
|
206 |
print(temp_text)
|
207 |
+
return temp_text"""
|
208 |
|
209 |
return temp_text
|