BRAIN-TR commited on
Commit
a09705c
1 Parent(s): 665a1ca

Update clean.py

Browse files
Files changed (1) hide show
  1. clean.py +2 -2
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